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