On Wed, May 25, 2011 at 6:37 PM, Mark Frazer <[email protected]> wrote:
> I am stumped at reproducing it on a small example though. I will sort > through all the cruft in my makefile and report the change that fixes the > build order. > If i understand the problem correctly, it seems to work properly on 3.81 (just FYI): Makefile: ------------------- all: foo.o dep1 dep2 foo.c: touch $@ X := foo.o $(X): INCLUDES+=-I. $(X): dep1 dep2 $(X): # cc -c $(INCLUDES) $@ touch $@ clean: rm -f dep1 dep2 foo.* ------------------- [stephan@cheyenne:~/tmp]$ make touch dep1 touch dep2 # cc -c -I. foo.o touch foo.o [stephan@cheyenne:~/tmp]$ touch dep2; make # cc -c -I. foo.o touch foo.o [stephan@cheyenne:~/tmp]$ make make: Nothing to be done for `all'. PS: > CHEADER = $(CHDRDIR)/Depict.h i think the correct spelling is "CHEDDAR" ;) -- ----- stephan beal http://wanderinghorse.net/home/stephan/ _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
