aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/OSX/example/Makefile
blob: d3502528b253379606988ff16ec058902afb84c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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 ***