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