File:  [Qemu by Fabrice Bellard] / qemu / tests / alpha / Makefile
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:22:43 2018 UTC (8 years, 1 month ago) by root
Branches: qemu, MAIN
CVS tags: qemu1001, qemu1000, qemu0151, qemu0150, qemu0141, qemu0140, qemu0130, qemu0125, qemu0124, qemu0123, qemu0122, qemu0121, qemu0120, qemu0111, qemu0110, HEAD
qemu 0.11.0

CROSS=alpha-linux-gnu-
CC=$(CROSS)gcc
AS=$(CROSS)as

SIM=../../alpha-linux-user/qemu-alpha

CFLAGS=-O
LINK=$(CC) -o $@ crt.o $< -nostdlib

TESTS=test-cond test-cmov

all: hello-alpha $(TESTS)

hello-alpha: hello-alpha.o crt.o
	$(LINK)

test-cond: test-cond.o crt.o
	$(LINK)

test-cmov.o: test-cond.c
	$(CC) -c $(CFLAGS) -DTEST_CMOV -o $@ $<

test-cmov: test-cmov.o crt.o
	$(LINK)

test-ovf: test-ovf.o crt.o
	$(LINK)

check: $(TESTS)
	for f in $(TESTS); do $(SIM) $$f || exit 1; done

clean:
	$(RM) *.o *~ hello-alpha $(TESTS)

.PHONY: clean all check

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.