added toplevel makefile gfx.mk

ugfx_release_2.6
Joel Bodenmann 2012-10-04 09:10:04 +02:00
parent 27276101ee
commit a03b2fbf5d
1 changed files with 11 additions and 0 deletions

11
gfx.mk 100644
View File

@ -0,0 +1,11 @@
# don't re-define GFXLIB if it has been set elsewhere, e.g in Makefile
ifeq ($(GFXLIB),)
GFXLIB = $(CHIBIOS)/ext/gfx
endif
GFXSRC += $(GFXLIB)/src/gdisp.c \
$(GFXLIB)/src/gdisp_fonts.c \
$(GFXLIB)/src/touchpad.c \
$(GFXLIB)/src/console.c \
GFXINC += $(GFXLIB)/include