diff options
author | Joel Bodenmann <joel@embedded.pro> | 2016-08-15 15:02:17 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@embedded.pro> | 2016-08-15 15:02:17 +0200 |
commit | 230c06a1263f7477d28d58ffa73a2e9e6cd4904d (patch) | |
tree | 0cf9b0f80a47b89d39689a32496ee28c3e133def /boards/base/OSX | |
parent | 8dd5cc93d5e0c82f141a9e46e69645f8477b986e (diff) | |
download | uGFX-230c06a1263f7477d28d58ffa73a2e9e6cd4904d.tar.gz uGFX-230c06a1263f7477d28d58ffa73a2e9e6cd4904d.tar.bz2 uGFX-230c06a1263f7477d28d58ffa73a2e9e6cd4904d.zip |
Updating Mac OS X board files
Diffstat (limited to 'boards/base/OSX')
-rw-r--r-- | boards/base/OSX/example/Makefile | 6 | ||||
-rw-r--r-- | boards/base/OSX/example/readme.txt | 2 | ||||
-rw-r--r-- | boards/base/OSX/readme.txt | 17 |
3 files changed, 17 insertions, 8 deletions
diff --git a/boards/base/OSX/example/Makefile b/boards/base/OSX/example/Makefile index d4ea932e..cce88c13 100644 --- a/boards/base/OSX/example/Makefile +++ b/boards/base/OSX/example/Makefile @@ -26,7 +26,7 @@ ARCH = SRCFLAGS = -ggdb -O0 -CFLAGS = +CFLAGS = `sdl2-config --libs --cflags` CXXFLAGS = ASFLAGS = LDFLAGS = @@ -35,8 +35,8 @@ SRC = OBJS = DEFS = LIBS = -INCPATH = /opt/X11/include -LIBPATH = /opt/X11/lib +INCPATH = +LIBPATH = ############################################################################################## # These should be at the end diff --git a/boards/base/OSX/example/readme.txt b/boards/base/OSX/example/readme.txt deleted file mode 100644 index 66491238..00000000 --- a/boards/base/OSX/example/readme.txt +++ /dev/null @@ -1,2 +0,0 @@ -Copy these files into your own project directory and alter them to suite. - diff --git a/boards/base/OSX/readme.txt b/boards/base/OSX/readme.txt index df033cbe..403f8bb9 100644 --- a/boards/base/OSX/readme.txt +++ b/boards/base/OSX/readme.txt @@ -1,7 +1,18 @@ -This directory contains the interface for OSX using X. +This directory contains the interface for Mac OS X using SDL. On this board uGFX currently supports: - - GDISP via the X driver - - GINPUT-touch via the X driver + - GDISP via the SDL driver + - GINPUT-touch via the SDL driver + - GINPUT-keyboard via the SDL driver + + +The folowing packages are required to run uGFX using this driver on +a 64-bit Mac OS X machine using SDL: + + sdl2 + + +The following should be added to the CFLAGS of the target makefile: + CFLAGS = `sdl2-config --libs --cflags` + There is an example Makefile and project in the examples directory. |