blob: 1783b2a2572e8f286d29edb3cc5dc8c6d5b0199e [file] [log] [blame]
Blue Swirladd16152009-09-27 16:26:02 +00001# Makefile for qemu target independent user files.
2
3include ../config-host.mak
4include $(SRC_PATH)/rules.mak
Blue Swirl58faa1a2009-12-19 15:42:34 +00005-include config.mak
Blue Swirladd16152009-09-27 16:26:02 +00006
7.PHONY: all
8
Paolo Bonzini076d2472009-12-21 10:06:55 +01009$(call set-vpath, $(SRC_PATH))
Blue Swirladd16152009-09-27 16:26:02 +000010
11QEMU_CFLAGS+=-I..
Andreas Färberce008c12012-03-04 21:32:36 +010012QEMU_CFLAGS += -I$(SRC_PATH)/include
Andreas Färberfc8c5b82012-06-09 13:56:42 +020013QEMU_CFLAGS += -DCONFIG_USER_ONLY
Blue Swirladd16152009-09-27 16:26:02 +000014
Andreas Färber0e8c9212010-01-06 20:24:05 +010015include $(SRC_PATH)/Makefile.objs
Blue Swirladd16152009-09-27 16:26:02 +000016
Andreas Färber0e8c9212010-01-06 20:24:05 +010017all: $(user-obj-y)
Blue Swirladd16152009-09-27 16:26:02 +000018# Dummy command so that make thinks it has done something
19 @true
20
Blue Swirladd16152009-09-27 16:26:02 +000021clean:
Lluís Vilanova937b1252011-09-15 22:45:42 +020022 for d in . trace; do \
23 rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
24 done
Blue Swirladd16152009-09-27 16:26:02 +000025
26# Include automatically generated dependency files
Anthony Liguoridcff25f2012-06-17 19:01:32 -050027-include $(wildcard *.d)