17fe924d9SSam bobroffPROGS := tm-resched-dscr tm-syscall
296d01610SSam bobroff
396d01610SSam bobroffall: $(PROGS)
496d01610SSam bobroff
5aa83f3d8SMichael Ellerman$(PROGS): ../harness.c
696d01610SSam bobroff
77fe924d9SSam bobrofftm-syscall: tm-syscall-asm.S
87fe924d9SSam bobrofftm-syscall: CFLAGS += -mhtm
97fe924d9SSam bobroff
1096d01610SSam bobroffrun_tests: all
1196d01610SSam bobroff	@-for PROG in $(PROGS); do \
1296d01610SSam bobroff		./$$PROG; \
1396d01610SSam bobroff	done;
1496d01610SSam bobroff
1596d01610SSam bobroffclean:
1696d01610SSam bobroff	rm -f $(PROGS) *.o
1796d01610SSam bobroff
1896d01610SSam bobroff.PHONY: all run_tests clean
19