diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-07-28 19:33:46 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-07-28 19:34:14 +0200 |
commit | bbf9de67af3f16a23e981031d5e18a729f386f52 (patch) | |
tree | c7cb6a471fc3bd3205f53f5d42df201f82ad5ea3 /plugins | |
parent | 583101d34bdbe6c90e178c979fd4de2f9c4c2785 (diff) |
server: Fix plugins makefile
Diffstat (limited to 'plugins')
-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 $@ $< |