1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
PROGS := tm-resched-dscr tm-syscall all: $(PROGS) $(PROGS): ../harness.c tm-syscall: tm-syscall-asm.S tm-syscall: CFLAGS += -mhtm run_tests: all @-for PROG in $(PROGS); do \ ./$$PROG; \ done; clean: rm -f $(PROGS) *.o .PHONY: all run_tests clean