[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [5288] Support out-of-the-tree building of tests
From: |
malc |
Subject: |
[Qemu-devel] [5288] Support out-of-the-tree building of tests |
Date: |
Mon, 22 Sep 2008 01:39:30 +0000 |
Revision: 5288
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5288
Author: malc
Date: 2008-09-22 01:39:29 +0000 (Mon, 22 Sep 2008)
Log Message:
-----------
Support out-of-the-tree building of tests
Modified Paths:
--------------
trunk/tests/Makefile
Modified: trunk/tests/Makefile
===================================================================
--- trunk/tests/Makefile 2008-09-22 01:08:08 UTC (rev 5287)
+++ trunk/tests/Makefile 2008-09-22 01:39:29 UTC (rev 5288)
@@ -1,4 +1,5 @@
-include ../config-host.mak
+VPATH=$(SRC_PATH)/tests
CFLAGS=-Wall -O2 -g -fno-strict-aliasing
#CFLAGS+=-msse2
@@ -33,11 +34,11 @@
test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \
test-i386.h test-i386-shift.h test-i386-muldiv.h
$(CC) -m32 $(CFLAGS) $(LDFLAGS) -static -o $@ \
- test-i386.c test-i386-code16.S test-i386-vm86.S -lm
+ $(<D)/test-i386.c $(<D)/test-i386-code16.S
$(<D)/test-i386-vm86.S -lm
test-x86_64: test-i386.c \
test-i386.h test-i386-shift.h test-i386-muldiv.h
- $(CC) -m64 $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c -lm
+ $(CC) -m64 $(CFLAGS) $(LDFLAGS) -static -o $@ $(<D)/test-i386.c -lm
ifeq ($(ARCH),i386)
test: test-i386
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [5288] Support out-of-the-tree building of tests,
malc <=