aboutsummaryrefslogtreecommitdiffstats
path: root/gfx.mk
diff options
context:
space:
mode:
Diffstat (limited to 'gfx.mk')
-rw-r--r--gfx.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/gfx.mk b/gfx.mk
new file mode 100644
index 00000000..4e16c16f
--- /dev/null
+++ b/gfx.mk
@@ -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