Tristan Van Berkom wrote: > > So I got this broken rule... > > hidden at the end of all the auto-build/auto-distribute scripts > embedded in the master toplevel makefile; I have the following rule: > #################################################### > $(CURDIR)/Makefile:$(CURDIR)/globalconfig/Makefile > @echo -n "Updating [EMAIL PROTECTED] " > @cp -f $< $@ > @echo "Done." > #################################################### > > And for some reason it just doesn't work.
This is what happens if I try that here. C:/tmp[3]$make -f Makefile c:\usr\bin\make.EXE: *** No rule to make target `C:/tmp/globalconfig/Makefile', needed by `C:/tmp/Makefile'. Stop. Does the subdirectory exist? C:/tmp[2]$mkdir globalconfig C:/tmp[0]$make -f Makefile c:\usr\bin\make.EXE: *** No rule to make target `C:/tmp/globalconfig/Makefile', needed by `C:/tmp/Makefile'. Stop. Does the makefile exist in the subdirectory? C:/tmp[2]$touch globalconfig/Makefile C:/tmp[0]$make -f Makefile Updating C:/tmp/Makefile... Done. > (I thought that all makefiles were goal targets). But remaking them may fail. _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
