2009-09-27 18:26:02 +02:00
|
|
|
# Makefile for qemu target independent user files.
|
|
|
|
|
|
|
|
include ../config-host.mak
|
|
|
|
include $(SRC_PATH)/rules.mak
|
2009-12-19 16:42:34 +01:00
|
|
|
-include config.mak
|
2009-09-27 18:26:02 +02:00
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
2009-12-21 10:06:55 +01:00
|
|
|
$(call set-vpath, $(SRC_PATH))
|
2009-09-27 18:26:02 +02:00
|
|
|
|
|
|
|
QEMU_CFLAGS+=-I..
|
2012-03-04 21:32:36 +01:00
|
|
|
QEMU_CFLAGS += -I$(SRC_PATH)/include
|
2012-06-09 13:56:42 +02:00
|
|
|
QEMU_CFLAGS += -DCONFIG_USER_ONLY
|
2009-09-27 18:26:02 +02:00
|
|
|
|
2010-01-06 20:24:05 +01:00
|
|
|
include $(SRC_PATH)/Makefile.objs
|
2009-09-27 18:26:02 +02:00
|
|
|
|
2010-01-06 20:24:05 +01:00
|
|
|
all: $(user-obj-y)
|
2009-09-27 18:26:02 +02:00
|
|
|
# Dummy command so that make thinks it has done something
|
|
|
|
@true
|
|
|
|
|
|
|
|
clean:
|
2011-09-15 22:45:42 +02:00
|
|
|
for d in . trace; do \
|
|
|
|
rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
|
|
|
|
done
|