Blue Swirl | add1615 | 2009-09-27 16:26:02 +0000 | [diff] [blame] | 1 | # Makefile for qemu target independent user files. |
| 2 | |
| 3 | include ../config-host.mak |
| 4 | include $(SRC_PATH)/rules.mak |
Blue Swirl | 58faa1a | 2009-12-19 15:42:34 +0000 | [diff] [blame] | 5 | -include config.mak |
Blue Swirl | add1615 | 2009-09-27 16:26:02 +0000 | [diff] [blame] | 6 | |
| 7 | .PHONY: all |
| 8 | |
Paolo Bonzini | 076d247 | 2009-12-21 10:06:55 +0100 | [diff] [blame] | 9 | $(call set-vpath, $(SRC_PATH)) |
Blue Swirl | add1615 | 2009-09-27 16:26:02 +0000 | [diff] [blame] | 10 | |
| 11 | QEMU_CFLAGS+=-I.. |
Andreas Färber | ce008c1 | 2012-03-04 21:32:36 +0100 | [diff] [blame] | 12 | QEMU_CFLAGS += -I$(SRC_PATH)/include |
Andreas Färber | fc8c5b8 | 2012-06-09 13:56:42 +0200 | [diff] [blame] | 13 | QEMU_CFLAGS += -DCONFIG_USER_ONLY |
Blue Swirl | add1615 | 2009-09-27 16:26:02 +0000 | [diff] [blame] | 14 | |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 15 | include $(SRC_PATH)/Makefile.objs |
Blue Swirl | add1615 | 2009-09-27 16:26:02 +0000 | [diff] [blame] | 16 | |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 17 | all: $(user-obj-y) |
Blue Swirl | add1615 | 2009-09-27 16:26:02 +0000 | [diff] [blame] | 18 | # Dummy command so that make thinks it has done something |
| 19 | @true |
| 20 | |
Blue Swirl | add1615 | 2009-09-27 16:26:02 +0000 | [diff] [blame] | 21 | clean: |
Lluís Vilanova | 937b125 | 2011-09-15 22:45:42 +0200 | [diff] [blame] | 22 | for d in . trace; do \ |
| 23 | rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \ |
| 24 | done |
Blue Swirl | add1615 | 2009-09-27 16:26:02 +0000 | [diff] [blame] | 25 | |
| 26 | # Include automatically generated dependency files |
Anthony Liguori | dcff25f | 2012-06-17 19:01:32 -0500 | [diff] [blame] | 27 | -include $(wildcard *.d) |