Date: Thursday, January 4, 2007 @ 17:02:20
Author: marc
Path: /cvsroot/carob/carob
Modified: GNUmakefile (1.9 -> 1.10)
make checkheaders is now recursively calling make so to use the very same flags
-------------+
GNUmakefile | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Index: carob/GNUmakefile
diff -u carob/GNUmakefile:1.9 carob/GNUmakefile:1.10
--- carob/GNUmakefile:1.9 Thu Jan 4 16:51:11 2007
+++ carob/GNUmakefile Thu Jan 4 17:02:20 2007
@@ -132,15 +132,14 @@
check: checkstatic checklib checkheaders
clean-check:
- ${RM} checkstatic checklib include/headercheck
+ ${RM} checkstatic checklib someheader.o
# compile each include/*.hpp, isolated
# TODO: use a GNU make loop instead of a shell script one
checkheaders:
- cd include ; \
- for h in *.hpp; do ln -sf $$h someheader.cpp; \
+ for h in include/*.hpp; do ln -sf $$h someheader.cpp; \
printf "compiling $$h\n"; \
- ${CXX} -c ${CXXFLAGS} someheader.cpp -o headercheck; done
+ $(MAKE) someheader.o || break; $(RM) someheader.o; done
# Link a empty executable to our lib
# Useful to detect unresolved symbols in our lib
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits