2009-09-28 00:26:02 +08:00
|
|
|
# Makefile for qemu target independent user files.
|
|
|
|
|
|
|
|
include ../config-host.mak
|
|
|
|
include $(SRC_PATH)/rules.mak
|
2009-12-19 23:42:34 +08:00
|
|
|
-include config.mak
|
2009-09-28 00:26:02 +08:00
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
2009-12-21 17:06:55 +08:00
|
|
|
$(call set-vpath, $(SRC_PATH))
|
2009-09-28 00:26:02 +08:00
|
|
|
|
|
|
|
QEMU_CFLAGS+=-I..
|
|
|
|
|
2010-01-07 03:24:05 +08:00
|
|
|
include $(SRC_PATH)/Makefile.objs
|
2009-09-28 00:26:02 +08:00
|
|
|
|
2010-01-07 03:24:05 +08:00
|
|
|
all: $(user-obj-y)
|
2009-09-28 00:26:02 +08:00
|
|
|
# Dummy command so that make thinks it has done something
|
|
|
|
@true
|
|
|
|
|
|
|
|
clean:
|
2011-09-16 04:45:42 +08:00
|
|
|
for d in . trace; do \
|
|
|
|
rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
|
|
|
|
done
|
2009-09-28 00:26:02 +08:00
|
|
|
|
|
|
|
# Include automatically generated dependency files
|
|
|
|
-include $(wildcard *.d */*.d)
|