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