1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
PROGS := tm-resched-dscr all: $(PROGS) $(PROGS): run_tests: all @-for PROG in $(PROGS); do \ ./$$PROG; \ done; clean: rm -f $(PROGS) *.o .PHONY: all run_tests clean