summaryrefslogtreecommitdiff
path: root/src/plugins/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Makefile.in')
-rw-r--r--src/plugins/Makefile.in14
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@