1CFLAGS = -ansi -pedantic -Wall -Wextra -g3 2 3test : test.c optparse.h 4 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ test.c $(LDLIBS) 5 6run : test 7 ./$< -abdfoo -c bar subcommand example.txt -a 8 9clean : 10 rm -f test 11