%% Tristan Van Berkom <[EMAIL PROTECTED]> writes: >> $(CURDIR)/Makefile:$(CURDIR)/globalconfig/Makefile
tvb> My apolagies for the repost, but I would really like to know if tvb> this is a bug in GNU Make or if this is the expected behaviour. The problem is that make doesn't recognize that the "$(CURDIR)/Makefile" target is the same as the "Makefile" file that it was invoked with, so it doesn't find any rule to rebuild just "Makefile". Why are you writing this as $(CURDIR)/Makefile instead of just Makefile? If you change your rule to: Makefile: globalconfig/Makefile it means the same thing (as far as I can see), and it then works. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
