diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-09-27 16:26:02 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-27 16:26:02 +0000 |
commit | add16157d72454347feb240007da4f90b9d9bae6 (patch) | |
tree | a0d5b9f7cf39650c772e6206d3259d133679faf1 /Makefile.user | |
parent | a4b18c6ddbc9135f86f8b93806f7f5198ed90674 (diff) | |
download | qemu-add16157d72454347feb240007da4f90b9d9bae6.tar.gz qemu-add16157d72454347feb240007da4f90b9d9bae6.tar.bz2 qemu-add16157d72454347feb240007da4f90b9d9bae6.zip |
Compile some user files only once for all targets
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'Makefile.user')
-rw-r--r-- | Makefile.user | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile.user b/Makefile.user new file mode 100644 index 0000000000..907e74bd9e --- /dev/null +++ b/Makefile.user @@ -0,0 +1,27 @@ +# Makefile for qemu target independent user files. + +include ../config-host.mak +include $(SRC_PATH)/rules.mak + +.PHONY: all + +VPATH=$(SRC_PATH) + +QEMU_CFLAGS+=-I.. + +obj-y = +obj-y += envlist.o path.o +obj-y += tcg-runtime.o host-utils.o +obj-y += cutils.o cache-utils.o + +all: libuser.a +# Dummy command so that make thinks it has done something + @true + +libuser.a: $(obj-y) + +clean: + rm -f *.o *.d *.a *~ + +# Include automatically generated dependency files +-include $(wildcard *.d */*.d) |