Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 1 | # Makefile for qemu target independent devices. |
2 | |||||
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 3 | include ../config-host.mak |
Juan Quintela | 1f3d3c8 | 2009-10-07 02:41:02 +0200 | [diff] [blame] | 4 | include ../config-all-devices.mak |
Juan Quintela | f36fc7a | 2009-07-27 16:12:50 +0200 | [diff] [blame] | 5 | include config.mak |
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 6 | include $(SRC_PATH)/rules.mak |
7 | |||||
8 | .PHONY: all | ||||
9 | |||||
Paolo Bonzini | 076d247 | 2009-12-21 10:06:55 +0100 | [diff] [blame] | 10 | $(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw) |
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 11 | |
Paolo Bonzini | cbbab92 | 2011-07-28 12:10:30 +0200 | [diff] [blame] | 12 | QEMU_CFLAGS+=-I.. |
Avi Kivity | ccbecf6 | 2011-08-03 18:55:00 +0300 | [diff] [blame] | 13 | QEMU_CFLAGS += $(GLIB_CFLAGS) |
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 14 | |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 15 | include $(SRC_PATH)/Makefile.objs |
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 16 | |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 17 | all: $(hw-obj-y) |
Paul Brook | c2fb263 | 2009-05-25 18:54:53 +0100 | [diff] [blame] | 18 | # Dummy command so that make thinks it has done something |
19 | @true | ||||
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 20 | |
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 21 | clean: |
Jan Kiszka | b1acdd2 | 2010-05-15 13:03:30 +0200 | [diff] [blame] | 22 | rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~ |
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 23 | |
24 | # Include automatically generated dependency files | ||||
25 | -include $(wildcard *.d */*.d) |