TESTS = reg_call1 reg_call2 reg_call3 reg_call_tail reg_save \ varargs ops x87 all: $(addsuffix .ok,$(TESTS)) %.ok: %.expect.c %.out.c diff -u $^ touch $@ %.out.h: %.asm %.seed.h ../stdc.list ../tools/translate -hdr $@ $^ %.out.c: %.asm %.out.h ../stdc.list ../tools/translate $@ $^ clean: $(RM) *.ok *.out.c *.out.h .PHONY: all clean .PRECIOUS: %.out.c