19b07b62 |
1 | |
e627c4d0 |
2 | TESTS = reg_call1 reg_call2 reg_call3 reg_call4 reg_call5 \ |
56b49358 |
3 | reg_call_tail reg_call_tail2 reg_save \ |
93b5bd18 |
4 | varargs ops x87 x87_f x87_s deref |
19b07b62 |
5 | |
6 | all: $(addsuffix .ok,$(TESTS)) |
7 | |
8 | %.ok: %.expect.c %.out.c |
9 | diff -u $^ |
10 | touch $@ |
11 | |
12 | %.out.h: %.asm %.seed.h ../stdc.list |
13 | ../tools/translate -hdr $@ $^ |
14 | |
15 | %.out.c: %.asm %.out.h ../stdc.list |
16 | ../tools/translate $@ $^ |
17 | |
18 | clean: |
19 | $(RM) *.ok *.out.c *.out.h |
20 | |
21 | .PHONY: all clean |
22 | .PRECIOUS: %.out.c |