configure: add -Werror to QEMU_CFLAGS early
[qemu/agraf.git] / Makefile.user
blob1783b2a2572e8f286d29edb3cc5dc8c6d5b0199e
1 # Makefile for qemu target independent user files.
3 include ../config-host.mak
4 include $(SRC_PATH)/rules.mak
5 -include config.mak
7 .PHONY: all
9 $(call set-vpath, $(SRC_PATH))
11 QEMU_CFLAGS+=-I..
12 QEMU_CFLAGS += -I$(SRC_PATH)/include
13 QEMU_CFLAGS += -DCONFIG_USER_ONLY
15 include $(SRC_PATH)/Makefile.objs
17 all: $(user-obj-y)
18 # Dummy command so that make thinks it has done something
19         @true
21 clean:
22         for d in . trace; do \
23         rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
24         done
26 # Include automatically generated dependency files
27 -include $(wildcard *.d)