On 2007-3-7 17:05 UTC, Peng Yu wrote: > > I have the following Makefile. However, the "make" program will stop > if it encounters any error when compiling the .c file. I'm wondering > if it is possible to compile the next file without stopping even if it > encounters an error.
Yes. Two ways: (1) make --keep-going (2) write '-' before a command, to allow it to fail: - gcc $< -o $@ _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
