From de16a24277c432435a6eda2e8b0331aa459bee5a Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 14 May 2017 11:06:35 +0200 Subject: server: Neatness stuff --- plugins/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/Makefile b/plugins/Makefile index 0824f2e..26d3047 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -30,5 +30,8 @@ endif .SECONDARY: -$(PLUGINNAME)/%.$(SO_EXT): $(patsubst %.c,%.o,$(wildcard $(PLUGINNAME)/*.c)) $(wildcard ../*.h) +$(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 $@ $< -- cgit v1.2.3-70-g09d2