I want to have a number of make target in the following format:
So I want to have targets test1, test2, test3, ect., without having to manually that whole block of code and replace test2 with testx.Code:
test2:mylang.exe test2.mir test2.out.expect.txt test2.err.expect.txt
./mylang.exe test2.mir >test2.out.txt 2>test2.err.txt
diff test2.out.expect.txt test2.out.txt
diff test2.err.expect.txt test2.err.txt
How can I do that?