]> Git Repo - qemu.git/blame - tests/tcg/alpha/Makefile
Merge branch 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm
[qemu.git] / tests / tcg / alpha / Makefile
CommitLineData
df0fc998
AJ
1CROSS=alpha-linux-gnu-
2CC=$(CROSS)gcc
3AS=$(CROSS)as
4
5SIM=../../alpha-linux-user/qemu-alpha
6
7CFLAGS=-O
a986fcc4 8LINK=$(CC) -o $@ crt.o $< -nostdlib
df0fc998
AJ
9
10TESTS=test-cond test-cmov
11
12all: hello-alpha $(TESTS)
13
14hello-alpha: hello-alpha.o crt.o
15 $(LINK)
16
17test-cond: test-cond.o crt.o
18 $(LINK)
19
20test-cmov.o: test-cond.c
21 $(CC) -c $(CFLAGS) -DTEST_CMOV -o $@ $<
22
23test-cmov: test-cmov.o crt.o
24 $(LINK)
25
ecbb5ea1
AJ
26test-ovf: test-ovf.o crt.o
27 $(LINK)
28
a986fcc4
AJ
29check: $(TESTS)
30 for f in $(TESTS); do $(SIM) $$f || exit 1; done
31
df0fc998
AJ
32clean:
33 $(RM) *.o *~ hello-alpha $(TESTS)
34
a986fcc4 35.PHONY: clean all check
This page took 0.512258 seconds and 4 git commands to generate.