summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-20 03:52:08 +0100
committerHaru <haru@dotalux.com>2013-11-20 03:52:08 +0100
commit98ad6bc7987e2f96b9b5dda07ccae552ccfb4c86 (patch)
tree572a366a9b81c4d87e1a91f8f21985fcef008092 /Makefile.in
parent1667c050a7a4b2a0dd699d0a174a071a692322dd (diff)
downloadhercules-98ad6bc7987e2f96b9b5dda07ccae552ccfb4c86.tar.gz
hercules-98ad6bc7987e2f96b9b5dda07ccae552ccfb4c86.tar.bz2
hercules-98ad6bc7987e2f96b9b5dda07ccae552ccfb4c86.tar.xz
hercules-98ad6bc7987e2f96b9b5dda07ccae552ccfb4c86.zip
Added support for 'make plugin.pluginname' to compile only 'pluginname'
- Various Makefile optimizations Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 0047a4c76..d61a885b4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -110,6 +110,10 @@ plugins: $(PLUGIN_DEPENDS) src/plugins/Makefile
@echo " MAKE $@"
@$(MAKE) -C src/plugins
+plugin.%: $(PLUGIN_DEPENDS) src/plugins/Makefile
+ @echo " MAKE $@"
+ @$(MAKE) -C src/plugins $(patsubst plugin.%,%,$@)
+
hooks: tools/HPMHookGen/Makefile
@echo " MAKE $@"
@$(MAKE) -C tools/HPMHookGen
@@ -150,6 +154,8 @@ help: Makefile
@echo "'all' - builds all the above targets"
@echo "'sql' - builds sql servers (targets 'common_sql' 'login_sql' 'char_sql'"
@echo " 'map_sql' and 'import')"
+ @echo "'plugins' - builds all available plugins"
+ @echo "'plugin.Name' - builds plugin named 'Name'"
@echo "'test' - builds tests"
@echo "'clean' - cleans executables and objects"
@echo "'buildclean' - cleans build temporary (object) files, without deleting the"