]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/Makefile
build all targets at the same time
[mirror_qemu.git] / tests / Makefile
index 364e3973064be93d28283817c84a2a13ca25742d..f4e1b22f44743aaa20101cfaf77e8c4d9c5512a7 100644 (file)
@@ -1,4 +1,4 @@
-include ../config.mak
+include ../config-host.mak
 
 CFLAGS=-Wall -O2 -g
 LDFLAGS=
@@ -8,13 +8,13 @@ TESTS=testclone testsig testthread sha1-i386 test-i386 runcom
 endif
 TESTS+=sha1 test_path
 
-QEMU=../qemu
+QEMU=../i386/qemu
 
 all: $(TESTS)
 
-hello: hello.c
+hello-i386: hello-i386.c
        $(CC) -nostdlib $(CFLAGS) -static $(LDFLAGS) -o $@ $<
-       strip hello
+       strip $@
 
 testclone: testclone.c
        $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<