48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
|
# 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 ***
|