diff options
author | Haru <haru@dotalux.com> | 2013-11-20 03:52:08 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-11-20 03:52:08 +0100 |
commit | 98ad6bc7987e2f96b9b5dda07ccae552ccfb4c86 (patch) | |
tree | 572a366a9b81c4d87e1a91f8f21985fcef008092 /src/plugins/Makefile.in | |
parent | 1667c050a7a4b2a0dd699d0a174a071a692322dd (diff) | |
download | hercules-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 'src/plugins/Makefile.in')
-rw-r--r-- | src/plugins/Makefile.in | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/plugins/Makefile.in b/src/plugins/Makefile.in index 53f44a0b4..ff2e83cf9 100644 --- a/src/plugins/Makefile.in +++ b/src/plugins/Makefile.in @@ -15,11 +15,15 @@ MYPLUGINS = PLUGINS = sample db2sql HPMHooking $(MYPLUGINS) -COMMON_H = $(shell ls ../common/*.h) -CONFIG_H = $(shell ls ../config/*.h ../config/*/*.h) -MAP_H = $(shell ls ../map/*.h) -CHAR_H = $(shell ls ../char/*.h) -LOGIN_H = $(shell ls ../login/*.h) +COMMON_D = ../common +COMMON_H = $(wildcard $(COMMON_D)/*.h) + +CONFIG_D = ../config +CONFIG_H = $(wildcard $(CONFIG_D)/*.h) $(wildcard $(CONFIG_D)/*/*.h) + +MAP_H = $(wildcard ../map/*.h) +CHAR_H = $(wildcard ../char/*.h) +LOGIN_H = $(wildcard ../login/*.h) ALL_H = $(COMMON_H) $(CONFIG_H) $(MAP_H) $(CHAR_H) $(LOGIN_H) @SET_MAKE@ |