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 | |
Juan Quintela | 6c90361 | 2009-08-03 14:46:23 +0200 | [diff] [blame] | 12 | QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu |
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 13 | |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 14 | include $(SRC_PATH)/Makefile.objs |
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 15 | |
Andreas Färber | 0e8c921 | 2010-01-06 20:24:05 +0100 | [diff] [blame] | 16 | all: $(hw-obj-y) |
Paul Brook | c2fb263 | 2009-05-25 18:54:53 +0100 | [diff] [blame] | 17 | # Dummy command so that make thinks it has done something |
| 18 | @true |
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 19 | |
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 20 | clean: |
Jan Kiszka | b1acdd2 | 2010-05-15 13:03:30 +0200 | [diff] [blame] | 21 | rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~ |
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 22 | |
| 23 | # Include automatically generated dependency files |
| 24 | -include $(wildcard *.d */*.d) |