2014-09-27 15:42:30 +00:00
|
|
|
# Possible Targets: all clean Debug cleanDebug Release cleanRelease
|
|
|
|
|
|
|
|
##############################################################################################
|
|
|
|
# Settings
|
|
|
|
#
|
|
|
|
|
2014-09-30 14:44:40 +00:00
|
|
|
# General settings
|
|
|
|
# See $(GFXLIB)/tools/gmake_scripts/readme.txt for the list of variables
|
|
|
|
OPT_OS = osx
|
2016-05-06 11:43:43 +00:00
|
|
|
OPT_LINK_OPTIMIZE = no
|
2014-09-30 14:44:40 +00:00
|
|
|
|
|
|
|
# uGFX settings
|
|
|
|
# See $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk for the list of variables
|
2016-05-06 11:43:43 +00:00
|
|
|
GFXLIB = ../../path/to/ugfx
|
2014-09-30 14:44:40 +00:00
|
|
|
GFXBOARD = OSX
|
|
|
|
GFXDEMO = modules/gdisp/basics
|
|
|
|
|
|
|
|
# OSX settings
|
|
|
|
# See $(GFXLIB)/tools/gmake_scripts/os_osx.mk for the list of variables
|
2016-05-06 11:43:43 +00:00
|
|
|
OSX_SDK = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
|
|
|
|
OSX_ARCH = -mmacosx-version-min=10.11
|
2014-09-27 15:42:30 +00:00
|
|
|
|
|
|
|
##############################################################################################
|
|
|
|
# Set these for your project
|
|
|
|
#
|
|
|
|
|
|
|
|
ARCH =
|
2014-09-30 14:44:40 +00:00
|
|
|
SRCFLAGS = -ggdb -O0
|
2014-09-27 15:42:30 +00:00
|
|
|
CFLAGS =
|
|
|
|
CXXFLAGS =
|
|
|
|
ASFLAGS =
|
2014-09-30 14:44:40 +00:00
|
|
|
LDFLAGS =
|
2014-09-27 15:42:30 +00:00
|
|
|
|
|
|
|
SRC =
|
2014-10-04 07:12:33 +00:00
|
|
|
OBJS =
|
2014-09-27 15:42:30 +00:00
|
|
|
DEFS =
|
|
|
|
LIBS =
|
2016-05-06 11:43:43 +00:00
|
|
|
INCPATH = /opt/X11/include
|
|
|
|
LIBPATH = /opt/X11/lib
|
2014-09-27 15:42:30 +00:00
|
|
|
|
|
|
|
##############################################################################################
|
|
|
|
# These should be at the end
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk
|
2014-09-30 14:44:40 +00:00
|
|
|
include $(GFXLIB)/tools/gmake_scripts/os_$(OPT_OS).mk
|
2014-09-27 15:42:30 +00:00
|
|
|
include $(GFXLIB)/tools/gmake_scripts/compiler_gcc.mk
|
|
|
|
# *** EOF ***
|