summaryrefslogtreecommitdiff
path: root/Makefile.user
blob: 1783b2a2572e8f286d29edb3cc5dc8c6d5b0199e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Makefile for qemu target independent user files.

include ../config-host.mak
include $(SRC_PATH)/rules.mak
-include config.mak

.PHONY: all

$(call set-vpath, $(SRC_PATH))

QEMU_CFLAGS+=-I..
QEMU_CFLAGS += -I$(SRC_PATH)/include
QEMU_CFLAGS += -DCONFIG_USER_ONLY

include $(SRC_PATH)/Makefile.objs

all: $(user-obj-y)
# Dummy command so that make thinks it has done something
	@true

clean:
	for d in . trace; do \
	rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
	done

# Include automatically generated dependency files
-include $(wildcard *.d)