hd-geometry: Move disk geometry guessing back from block.c
[qemu/agraf.git] / Makefile.hw
blob28fe100fbe331f7fec5efb3a80e2acfc5ed33005
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, $(sort $(dir $(hw-obj-y))))
23         rm -f $(addsuffix *.d, $(sort $(dir $(hw-obj-y))))
25 # Include automatically generated dependency files
26 -include $(patsubst %.o, %.d, $(hw-obj-y))