start some tests
[ia32rtools.git] / tests / Makefile
CommitLineData
19b07b62 1
2TESTS = reg_call1 reg_call2 reg_call3 reg_call_tail reg_save
3
4all: $(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
16clean:
17 $(RM) *.ok *.out.c *.out.h
18
19.PHONY: all clean
20.PRECIOUS: %.out.c