aboutsummaryrefslogtreecommitdiffstats
path: root/gfx.mk
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-10-04 09:10:04 +0200
committerJoel Bodenmann <joel@unormal.org>2012-10-04 09:10:04 +0200
commita03b2fbf5d4ee3d92323ba0674d833b0e9646b28 (patch)
tree576ff32fc989b9c85d0c324148a21712002d92a0 /gfx.mk
parent27276101ee46b1ef196c1c52ac92b7ea30d52778 (diff)
downloaduGFX-a03b2fbf5d4ee3d92323ba0674d833b0e9646b28.tar.gz
uGFX-a03b2fbf5d4ee3d92323ba0674d833b0e9646b28.tar.bz2
uGFX-a03b2fbf5d4ee3d92323ba0674d833b0e9646b28.zip
added toplevel makefile gfx.mk
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