build: move device tree to per-target Makefile.objs
[qemu/ar7.git] / Makefile.user
blobb71782040789ede74bf9bf5fb12cf95c7a3f0d1c
1 # Makefile for qemu target independent user files.
3 include ../config-host.mak
4 include $(SRC_PATH)/rules.mak
5 -include config.mak
7 .PHONY: all
9 $(call set-vpath, $(SRC_PATH))
11 QEMU_CFLAGS+=-I..
12 QEMU_CFLAGS += -I$(SRC_PATH)/include
14 include $(SRC_PATH)/Makefile.objs
16 all: $(user-obj-y)
17 # Dummy command so that make thinks it has done something
18         @true
20 clean:
21         for d in . trace; do \
22         rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
23         done
25 # Include automatically generated dependency files
26 -include $(wildcard *.d */*.d)