aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/Linux/example
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-02-19 00:19:38 +1000
committerinmarket <andrewh@inmarket.com.au>2014-02-19 00:19:38 +1000
commit6dd606fc2f2e7a6bef7d7ac772c7f97a35f8a61b (patch)
tree8f50ff0c0b4f7a8f91b6053f767ea4f16ee48ffb /boards/base/Linux/example
parentd4c2656e60c8218cb42d50d16c405c146fb61fce (diff)
downloaduGFX-6dd606fc2f2e7a6bef7d7ac772c7f97a35f8a61b.tar.gz
uGFX-6dd606fc2f2e7a6bef7d7ac772c7f97a35f8a61b.tar.bz2
uGFX-6dd606fc2f2e7a6bef7d7ac772c7f97a35f8a61b.zip
Add demo makefiles and update example master makefiles to match.
Diffstat (limited to 'boards/base/Linux/example')
-rw-r--r--boards/base/Linux/example/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/boards/base/Linux/example/Makefile b/boards/base/Linux/example/Makefile
index 1d59fe43..e454a811 100644
--- a/boards/base/Linux/example/Makefile
+++ b/boards/base/Linux/example/Makefile
@@ -52,9 +52,11 @@ include ${GFXLIB}/gfx.mk
include ${GFXLIB}/boards/base/Linux/board.mk
# Where is our source code - alter these for your project.
-MYFILES = $(GFXLIB)/demos/modules/gdisp/basics
-MYCSRC = $(MYFILES)/main.c
-MYDEFS =
+# Either just include the demo makefile or add your own definitions
+include $(GFXLIB)/demos/modules/gdisp/basics/demo.mk
+#MYFILES = my-project-directory
+#MYCSRC = $(MYFILES)/main.c
+#MYDEFS =
# List all user C define here, like -D_DEBUG=1
UDEFS = $(MYDEFS) $(GFXDEFS)