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..
|
2012-03-05 04:32:36 +08:00
|
|
|
QEMU_CFLAGS += -I$(SRC_PATH)/include
|
2012-06-09 19:56:42 +08:00
|
|
|
QEMU_CFLAGS += -DCONFIG_USER_ONLY
|
2009-09-28 00:26:02 +08:00
|
|
|
|
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
|