diff options
Diffstat (limited to 'common.rules')
-rw-r--r-- | common.rules | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common.rules b/common.rules index 9a1e4a56ba..927e8e1cce 100644 --- a/common.rules +++ b/common.rules @@ -10,8 +10,9 @@ ifdef PLUGIN # TODO: Right now, for Mac OS X only. We either will have to generate this # via the configure script, or put in some 'if' statements to choose from # one of several build rules -PLUGIN-$(MODULE) := $(MODULE)/$(PLUGIN_PREFIX)$(MODULE)$(PLUGIN_SUFFIX) +PLUGIN-$(MODULE) := plugins/$(PLUGIN_PREFIX)$(MODULE)$(PLUGIN_SUFFIX) $(PLUGIN-$(MODULE)): $(MODULE_OBJS) $(PLUGIN_EXTRA_DEPS) + $(MKDIR) plugins $(CXX) $(PLUGIN_LDFLAGS) $(filter-out $(PLUGIN_EXTRA_DEPS),$+) -o $@ PLUGIN:= plugins: $(PLUGIN-$(MODULE)) |