Commit | Line | Data |
---|---|---|
1 | ||
2 | TESTS = reg_call1 reg_call2 reg_call3 reg_call4 reg_call5 \ | |
3 | reg_call_tail reg_call_tail2 reg_save \ | |
4 | varargs ops x87 x87_f x87_s deref | |
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 |