diff Makefile @ 26630:f03109452eba

Make the checkheaders target work non-recursively.
author diego
date Sat, 03 May 2008 15:57:54 +0000
parents 5b89b42f6d50
children b372d0e6d10f
line wrap: on
line diff
--- a/Makefile	Sat May 03 15:44:55 2008 +0000
+++ b/Makefile	Sat May 03 15:57:54 2008 +0000
@@ -892,7 +892,7 @@
 tags:
 	rm -f $@; ( find -name '*.[chS]' -print ) | xargs ctags -a
 
-ALLHEADERS = $(wildcard *.h)
+ALLHEADERS = $(foreach dir,$(DIRS),$(wildcard $(dir)/*.h))
 checkheaders: $(ALLHEADERS:.h=.ho)
 
 # ./configure must be rerun if it changed