Cyril Bur | e5ab8be | 2016-02-29 17:53:44 +1100 | [diff] [blame^] | 1 | TEST_PROGS := fpu_syscall fpu_preempt vmx_syscall vmx_preempt |
Cyril Bur | 01127f1 | 2016-02-29 17:53:43 +1100 | [diff] [blame] | 2 | |
| 3 | all: $(TEST_PROGS) |
| 4 | |
| 5 | $(TEST_PROGS): ../harness.c |
| 6 | $(TEST_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec |
| 7 | |
| 8 | fpu_syscall: fpu_asm.S |
Cyril Bur | e5ab8be | 2016-02-29 17:53:44 +1100 | [diff] [blame^] | 9 | fpu_preempt: fpu_asm.S |
| 10 | |
Cyril Bur | 01127f1 | 2016-02-29 17:53:43 +1100 | [diff] [blame] | 11 | vmx_syscall: vmx_asm.S |
Cyril Bur | e5ab8be | 2016-02-29 17:53:44 +1100 | [diff] [blame^] | 12 | vmx_preempt: vmx_asm.S |
Cyril Bur | 01127f1 | 2016-02-29 17:53:43 +1100 | [diff] [blame] | 13 | |
| 14 | include ../../lib.mk |
| 15 | |
| 16 | clean: |
| 17 | rm -f $(TEST_PROGS) *.o |