summaryrefslogtreecommitdiff
path: root/tools
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 /tools
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 'tools')
-rw-r--r--tools/HPMHookGen/Makefile.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/HPMHookGen/Makefile.in b/tools/HPMHookGen/Makefile.in
index 10a3c55ba..c89228c7a 100644
--- a/tools/HPMHookGen/Makefile.in
+++ b/tools/HPMHookGen/Makefile.in
@@ -1,13 +1,13 @@
@SET_MAKE@
-COMMON_C = $(shell ls ../../src/common/*.c)
-COMMON_H = $(shell ls ../../src/common/*.h)
-MAP_C = $(shell ls ../../src/map/*.c)
-MAP_H = $(shell ls ../../src/map/*.h)
-CHAR_C = $(shell ls ../../src/char/*.c)
-CHAR_H = $(shell ls ../../src/char/*.h)
-LOGIN_C = $(shell ls ../../src/login/*.c)
-LOGIN_H = $(shell ls ../../src/login/*.h)
+COMMON_C = $(wildcard ../../src/common/*.c)
+COMMON_H = $(wildcard ../../src/common/*.h)
+MAP_C = $(wildcard ../../src/map/*.c)
+MAP_H = $(wildcard ../../src/map/*.h)
+CHAR_C = $(wildcard ../../src/char/*.c)
+CHAR_H = $(wildcard ../../src/char/*.h)
+LOGIN_C = $(wildcard ../../src/login/*.c)
+LOGIN_H = $(wildcard ../../src/login/*.h)
ALL_C = $(COMMON_C) $(MAP_C) $(CHAR_C) $(LOGIN_C)
ALL_H = $(COMMON_H) $(MAP_H) $(CHAR_H) $(LOGIN_H)