qemu-iotests: Some backing file COW tests
[qemu.git] / Makefile.hw
blob2bcbaffb4f23f1e16e4c142d3ece65e481b42d23
1 # Makefile for qemu target independent devices.
3 include ../config-host.mak
4 include ../config-all-devices.mak
5 include config.mak
6 include $(SRC_PATH)/rules.mak
8 .PHONY: all
10 $(call set-vpath, $(SRC_PATH))
12 QEMU_CFLAGS+=-I..
13 QEMU_CFLAGS += -I$(SRC_PATH)/include
15 include $(SRC_PATH)/Makefile.objs
17 all: $(hw-obj-y)
18 # Dummy command so that make thinks it has done something
19         @true
21 clean:
22         rm -f $(addsuffix /*.o, $(dir $(sort $(hw-obj-y))))
23         rm -f $(addsuffix /*.d, $(dir $(sort $(hw-obj-y))))
25 # Include automatically generated dependency files
26 -include $(patsubst %.o, %.d, $(hw-obj-y))