aboutsummaryrefslogtreecommitdiff
path: root/plugins/Makefile
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-05-14 11:06:35 +0200
committertomsmeding <tom.smeding@gmail.com>2017-05-14 11:06:35 +0200
commitde16a24277c432435a6eda2e8b0331aa459bee5a (patch)
tree286364a958d327b364d5c72925c84c142474b37a /plugins/Makefile
parent635802489282cea52220569fed8297d75c98a774 (diff)
server: Neatness stuff
Diffstat (limited to 'plugins/Makefile')
-rw-r--r--plugins/Makefile5
1 files changed, 4 insertions, 1 deletions
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 $@ $<