57c83dacfe
Makefile, Makefile.hw, Makefile.target and libcacard/Makefile added GLIB_CFLAGS to QEMU_CFLAGS. Makefile.objs does this, too, and is included by all other Makefiles, so GLIB_CFLAGS were added twice (reported by malc). Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: malc <av1474@comtv.ru>
26 lines
529 B
Makefile
26 lines
529 B
Makefile
# Makefile for qemu target independent devices.
|
|
|
|
include ../config-host.mak
|
|
include ../config-all-devices.mak
|
|
include config.mak
|
|
include $(SRC_PATH)/rules.mak
|
|
|
|
.PHONY: all
|
|
|
|
$(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw)
|
|
|
|
QEMU_CFLAGS+=-I..
|
|
QEMU_CFLAGS += -I$(SRC_PATH)/include
|
|
|
|
include $(SRC_PATH)/Makefile.objs
|
|
|
|
all: $(hw-obj-y)
|
|
# Dummy command so that make thinks it has done something
|
|
@true
|
|
|
|
clean:
|
|
rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~
|
|
|
|
# Include automatically generated dependency files
|
|
-include $(wildcard *.d */*.d)
|