Objects depend on the Makefile
authorAlan T. DeKok <aland@freeradius.org>
Sun, 17 Mar 2013 15:23:52 +0000 (11:23 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 17 Mar 2013 15:23:52 +0000 (11:23 -0400)
So that if the Makefile changes (c flags, libraries, etc.)
we re-build the target.

This is a hack to work around the fact that we can't detect
when the CFLAGS, etc. change

scripts/boiler.mk

index 98095b7..58d129a 100644 (file)
@@ -381,6 +381,7 @@ define INCLUDE_SUBMAKEFILE
         $${OBJS}: SRC_CXXFLAGS := $${SRC_CXXFLAGS}
         $${OBJS}: SRC_DEFS := $$(addprefix -D,$${SRC_DEFS})
         $${OBJS}: SRC_INCDIRS := $$(addprefix -I,$${SRC_INCDIRS})
+        $${OBJS}: ${1}
     endif
     endif