I want to execute the following commands:

./a.out 1
./a.out 2
./a.out 3
./a.out 4
.
.
. and so on

How to write this thing as a loop in a Makefile?

15 Answers
15

Leave a Reply

Your email address will not be published. Required fields are marked *