~ruther/qmk_firmware

15bdef3ee92e6809ec5d0f25901f4a490cd91b58 — Fred Sundvik 9 years ago 350bc0d
Makefile changes to support emulator build
2 files changed, 7 insertions(+), 1 deletions(-)

M ugfx
M visualizer.mk
M ugfx => ugfx +1 -1
@@ 1,1 1,1 @@
Subproject commit e221a690616e20f87e0b0088baffdbd5427be862
Subproject commit 314a066d11f09d295d42054a0b53fa1a95c0ba0a

M visualizer.mk => visualizer.mk +6 -0
@@ 21,7 21,9 @@
# SOFTWARE.

GFXLIB = $(VISUALIZER_DIR)/ugfx
ifndef EMULATOR
SRC += $(VISUALIZER_DIR)/visualizer.c
endif
UINCDIR += $(GFXINC) $(VISUALIZER_DIR)

ifdef LCD_ENABLE


@@ 45,9 47,13 @@ endif
ifdef USE_UGFX
include $(GFXLIB)/gfx.mk
SRC += $(GFXSRC)
UDEFS += $(patsubst %,-D%,$(patsubst -D%,%,$(GFXDEFS)))
ULIBS += $(patsubst %,-l%,$(patsubst -l%,%,$(GFXLIBS)))
endif

ifndef VISUALIZER_USER
ifndef EMULATOR
VISUALIZER_USER = visualizer_user.c
endif
endif
SRC += $(VISUALIZER_USER)
\ No newline at end of file