Statistics
| Branch: | Revision:

root / Makefile.hw @ 6f06f178

History | View | Annotate | Download (529 Bytes)

1 1ad2134f Paul Brook
# Makefile for qemu target independent devices.
2 1ad2134f Paul Brook
3 1ad2134f Paul Brook
include ../config-host.mak
4 1f3d3c8f Juan Quintela
include ../config-all-devices.mak
5 f36fc7a1 Juan Quintela
include config.mak
6 1ad2134f Paul Brook
include $(SRC_PATH)/rules.mak
7 1ad2134f Paul Brook
8 1ad2134f Paul Brook
.PHONY: all
9 1ad2134f Paul Brook
10 076d2471 Paolo Bonzini
$(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw)
11 1ad2134f Paul Brook
12 cbbab922 Paolo Bonzini
QEMU_CFLAGS+=-I..
13 2f28d2ff Anthony Liguori
QEMU_CFLAGS += -I$(SRC_PATH)/include
14 1ad2134f Paul Brook
15 0e8c9214 Andreas Färber
include $(SRC_PATH)/Makefile.objs
16 1ad2134f Paul Brook
17 0e8c9214 Andreas Färber
all: $(hw-obj-y)
18 c2fb2637 Paul Brook
# Dummy command so that make thinks it has done something
19 c2fb2637 Paul Brook
	@true
20 1ad2134f Paul Brook
21 1ad2134f Paul Brook
clean:
22 b1acdd2c Jan Kiszka
	rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~
23 1ad2134f Paul Brook
24 1ad2134f Paul Brook
# Include automatically generated dependency files
25 1ad2134f Paul Brook
-include $(wildcard *.d */*.d)