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