Updating Mac OS X board files

This commit is contained in:
Joel Bodenmann 2016-08-15 15:02:17 +02:00
parent 8dd5cc93d5
commit 230c06a126
3 changed files with 17 additions and 8 deletions

View File

@ -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

View File

@ -1,2 +0,0 @@
Copy these files into your own project directory and alter them to suite.

View File

@ -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.