~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to tests/alpha/Makefile

  • Committer: ths
  • Date: 2007-06-17 15:32:30 UTC
  • Revision ID: git-v1:ffb04fcf089865952592f1f8855c2848d4514a89
Allow relative paths for the interpreter prefix in linux-user emulation.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2984 c046a42c-6fe2-441c-8c8c-71466251a162

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CROSS=alpha-linux-gnu-
2
 
CC=$(CROSS)gcc
3
 
AS=$(CROSS)as
4
 
 
5
 
SIM=../../alpha-linux-user/qemu-alpha
6
 
 
7
 
CFLAGS=-O
8
 
LINK=$(CC) -o $@ crt.o $< -nostdlib
9
 
 
10
 
TESTS=test-cond test-cmov
11
 
 
12
 
all: hello-alpha $(TESTS)
13
 
 
14
 
hello-alpha: hello-alpha.o crt.o
15
 
        $(LINK)
16
 
 
17
 
test-cond: test-cond.o crt.o
18
 
        $(LINK)
19
 
 
20
 
test-cmov.o: test-cond.c
21
 
        $(CC) -c $(CFLAGS) -DTEST_CMOV -o $@ $<
22
 
 
23
 
test-cmov: test-cmov.o crt.o
24
 
        $(LINK)
25
 
 
26
 
check: $(TESTS)
27
 
        for f in $(TESTS); do $(SIM) $$f || exit 1; done
28
 
 
29
 
clean:
30
 
        $(RM) *.o *~ hello-alpha $(TESTS)
31
 
 
32
 
.PHONY: clean all check