diff options
Diffstat (limited to 'boards/base/OSX/example')
-rw-r--r-- | boards/base/OSX/example/Makefile | 47 | ||||
-rw-r--r-- | boards/base/OSX/example/readme.txt | 5 |
2 files changed, 52 insertions, 0 deletions
diff --git a/boards/base/OSX/example/Makefile b/boards/base/OSX/example/Makefile new file mode 100644 index 00000000..d3502528 --- /dev/null +++ b/boards/base/OSX/example/Makefile @@ -0,0 +1,47 @@ +# Possible Targets: all clean Debug cleanDebug Release cleanRelease + +############################################################################################## +# Settings +# + +# See $(GFXLIB)/tools/gmake_scripts/readme.txt for the meaning of these variables +OPT_VERBOSE_COMPILE = no +OPT_GENERATE_LISTINGS = yes +OPT_GENERATE_MAP = yes +OPT_COPY_EXE = no +OPT_NATIVEOS = osx +OPT_OS = osx + +# See $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk for the meaning of these variables +GFXLIB = ../uGFX +GFXBOARD = OSX +#GFXDRIVERS = multiple/uGFXnet +GFXDEMO = modules/gdisp/basics + +############################################################################################## +# Set these for your project +# + +OSX_SDK = /Developer/SDKs/MacOSX10.7.sdk +OSX_ARCH = -mmacosx-version-min=10.3 -arch i386 + +ARCH = +SRCFLAGS = -m32 -ggdb -O0 -fomit-frame-pointer -Wall -Wextra -Wstrict-prototypes -fverbose-asm -isysroot $(OSX_SDK) $(OSX_ARCH) +CFLAGS = +CXXFLAGS = +ASFLAGS = +LDFLAGS = -pthread -Wl,-syslibroot,$(OSX_SDK) $(OSX_ARCH) + +SRC = +DEFS = +LIBS = +INCPATH = +LIBPATH = + +############################################################################################## +# These should be at the end +# + +include $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk +include $(GFXLIB)/tools/gmake_scripts/compiler_gcc.mk +# *** EOF *** diff --git a/boards/base/OSX/example/readme.txt b/boards/base/OSX/example/readme.txt new file mode 100644 index 00000000..aff58bb1 --- /dev/null +++ b/boards/base/OSX/example/readme.txt @@ -0,0 +1,5 @@ +Copy these files into your own project directory and alter them to suite. + +Notes: + +1/ Look at the MYFILES definition and the MYCSRC definition. |