1 PROGS
=test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 test11 test12 \
2 test13 test14 test15 test16 test17 test18 test19
3 OBJS
=$(patsubst %,%.o
,$(PROGS
))
7 CFLAGS
+= -Wall
-Wextra
13 all: $(OBJS
) $(PROGS
) $(TEST_TARGET
)
15 # static pattern rule: multiple targets
18 $(CC
) -c
$(CPPFLAGS
) $(CFLAGS
) $<
21 $(CC
) -o
$@
$(CPPFLAGS
) $(CFLAGS
) $< $(LDFLAGS
)
30 rm -f
$(PROGS
) $(OBJS
) test*.out