From 98ad6bc7987e2f96b9b5dda07ccae552ccfb4c86 Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 20 Nov 2013 03:52:08 +0100 Subject: Added support for 'make plugin.pluginname' to compile only 'pluginname' - Various Makefile optimizations Signed-off-by: Haru --- Makefile.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile.in') 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" -- cgit v1.2.3-60-g2f50