Updating makefiles for MacOS X

This commit is contained in:
Joel Bodenmann 2016-05-06 13:43:43 +02:00
parent 87ac62e9a2
commit 6c90597dc9
3 changed files with 7 additions and 10 deletions

View File

@ -1,7 +1,7 @@
GFXINC += $(GFXLIB)/boards/base/OSX
GFXSRC +=
GFXDEFS += -DGFX_USE_OS_OSX=TRUE
GFXLIBS += rt
GFXLIBS +=
include $(GFXLIB)/drivers/multiple/X/driver.mk

View File

@ -7,18 +7,18 @@
# General settings
# See $(GFXLIB)/tools/gmake_scripts/readme.txt for the list of variables
OPT_OS = osx
OPT_LINK_OPTIMIZE = yes
OPT_LINK_OPTIMIZE = no
# uGFX settings
# See $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk for the list of variables
GFXLIB = ../uGFX
GFXLIB = ../../path/to/ugfx
GFXBOARD = OSX
GFXDEMO = modules/gdisp/basics
# OSX settings
# See $(GFXLIB)/tools/gmake_scripts/os_osx.mk for the list of variables
OSX_SDK = /Developer/SDKs/MacOSX10.7.sdk
OSX_ARCH = -mmacosx-version-min=10.3
OSX_SDK = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
OSX_ARCH = -mmacosx-version-min=10.11
##############################################################################################
# Set these for your project
@ -35,8 +35,8 @@ SRC =
OBJS =
DEFS =
LIBS =
INCPATH =
LIBPATH =
INCPATH = /opt/X11/include
LIBPATH = /opt/X11/lib
##############################################################################################
# These should be at the end

View File

@ -1,5 +1,2 @@
Copy these files into your own project directory and alter them to suite.
Notes:
1/ Look at the MYFILES definition and the MYCSRC definition.