From: Pedro A. <ped...@po...> - 2007-03-13 20:13:30
|
Hi, Felix Kater wrote: > > all: > mingw32-make -C $(MY_FILE) && echo "done!" > > > Not sure if that echo "done!" part was really important to you, or if you don't really use it, and it served to show us some other problem, but, Make stops evaluating the commands from a rule as soon as a sub-shell errors. This prints "done!" : all: true echo "done!" This doesn't: all: false echo "done!" So, you could write your makefile as: all: $(MAKE) -C $(MY_FILE) echo "done!" ... and the path problem isn't a problem anymore. Cheers, Pedro Alves |