aboutsummaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-05-02 14:30:06 +0000
committerJordi Vilalta Prat2008-05-02 14:30:06 +0000
commit3f44977885d33ea694df399a83cf198dd85b5fed (patch)
treec081843c9cd64d3e077482fbc7f43bbf3b39d087 /rules.mk
parent6a98108eac1203eaf1058fa24ad9c80fc9ba45a8 (diff)
downloadscummvm-rg350-3f44977885d33ea694df399a83cf198dd85b5fed.tar.gz
scummvm-rg350-3f44977885d33ea694df399a83cf198dd85b5fed.tar.bz2
scummvm-rg350-3f44977885d33ea694df399a83cf198dd85b5fed.zip
Added support to load plugins from different directories and the ability to specify the default directory from configure.
svn-id: r31816
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 2fea7ccb36..f2365f8928 100644
--- a/rules.mk
+++ b/rules.mk
@@ -51,6 +51,9 @@ PLUGIN:=
# Add to "plugins" target
plugins: $(PLUGIN-$(MODULE))
+# Add to the PLUGINS variable
+PLUGINS += $(PLUGIN-$(MODULE))
+
# Pseudo target for comfort, allows for "make common", "make gui" etc.
$(MODULE): $(PLUGIN-$(MODULE))
clean-plugins: clean-$(MODULE)