After many years when I did not use make, I again need this, the gnu version. Iβm sure that I can do what I want, but I donβt understand how, or found an answer from Google, etc.
I am trying to create a test object that will run my program several times, storing the results in a log file. Some tests should interrupt my program. Unfortunately, my makefile is aborted on the first test, which leads to an error. I have something like:
# Makefile # test: myProg -h > test.log # Display help myProg good_input >> test.log # should run fine myProg bad_input1 >> test.log # Error 1 myProg bad_input2 >> test.log # Error 2
With the above, shut down after running bad_input1, never before running bad_input2.
makefile gnu-make
GreenMatt Feb 02 2018-10-02T00 : 00Z
source share