diff options
-rw-r--r-- | plugins/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Makefile b/plugins/Makefile index a87e798..2979387 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -Wall -Wextra -std=c11 -g -fwrapv -I.. -fPIC +CFLAGS = -Wall -Wextra -std=c11 -g -fwrapv -I.. ifeq ($(shell uname),Darwin) SO_EXT = dylib @@ -32,4 +32,4 @@ $(PLUGINNAME)/%.$(SO_EXT): $(patsubst %.c,%.o,$(wildcard $(PLUGINNAME)/*.c)) $(CC) $(SO_FLAGS) -o $@ $(filter %.o,$^) $(PLUGINNAME)/%.o: $(PLUGINNAME)/%.c $(wildcard $(PLUGINNAME)/*.h) $(wildcard ../*.h) - $(CC) $(CFLAGS) $(SO_FLAGS) -o $@ $< + $(CC) -c $(CFLAGS) -o $@ $< |