summaryrefslogtreecommitdiff
path: root/powerpc/tm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'powerpc/tm/Makefile')
-rw-r--r--powerpc/tm/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/powerpc/tm/Makefile b/powerpc/tm/Makefile
index 2cede23..4bea62a 100644
--- a/powerpc/tm/Makefile
+++ b/powerpc/tm/Makefile
@@ -1,15 +1,13 @@
-PROGS := tm-resched-dscr
+TEST_PROGS := tm-resched-dscr tm-syscall
-all: $(PROGS)
+all: $(TEST_PROGS)
-$(PROGS): ../harness.c
+$(TEST_PROGS): ../harness.c
-run_tests: all
- @-for PROG in $(PROGS); do \
- ./$$PROG; \
- done;
+tm-syscall: tm-syscall-asm.S
+tm-syscall: CFLAGS += -mhtm -I../../../../../usr/include
-clean:
- rm -f $(PROGS) *.o
+include ../../lib.mk
-.PHONY: all run_tests clean
+clean:
+ rm -f $(TEST_PROGS) *.o