git » libfiu » commit 15d666d

preload/posix: Make the objects depend on codegen.h

author Alberto Bertogli
2014-06-16 00:37:10 UTC
committer Alberto Bertogli
2014-06-16 00:37:10 UTC
parent 2c0cea6ce62fa63686619f421cc34e10fa91319d

preload/posix: Make the objects depend on codegen.h

The objects depend on codegen.h, but the Makefile doesn't know this, so
they're not rebuild after codegen.h changes.

This patch fixes that by adding the file as a dependency in Makefile.

preload/posix/Makefile +1 -1

diff --git a/preload/posix/Makefile b/preload/posix/Makefile
index adc9b4b..674882b 100644
--- a/preload/posix/Makefile
+++ b/preload/posix/Makefile
@@ -58,7 +58,7 @@ build-flags: .force-build-flags
 
 $(GEN_OBJS): $(GEN_C)
 
-$(OBJS): build-flags
+$(OBJS): build-flags codegen.h
 
 %.mod.c: %.mod
 	$(NICE_GEN) $< $@ $<.fl