blob: b71782040789ede74bf9bf5fb12cf95c7a3f0d1c [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
Blue Swirladd16152009-09-27 16:26:02 +000013
Andreas Färber0e8c9212010-01-06 20:24:05 +010014include $(SRC_PATH)/Makefile.objs
Blue Swirladd16152009-09-27 16:26:02 +000015
Andreas Färber0e8c9212010-01-06 20:24:05 +010016all: $(user-obj-y)
Blue Swirladd16152009-09-27 16:26:02 +000017# Dummy command so that make thinks it has done something
18 @true
19
Blue Swirladd16152009-09-27 16:26:02 +000020clean:
Lluís Vilanova937b1252011-09-15 22:45:42 +020021 for d in . trace; do \
22 rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
23 done
Blue Swirladd16152009-09-27 16:26:02 +000024
25# Include automatically generated dependency files
26-include $(wildcard *.d */*.d)