forked from textmate/textmate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
target
31 lines (25 loc) · 1.02 KB
/
target
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
PLIST_FLAGS = -d'APP_NAME=$APP_NAME' -d'APP_VERSION=$APP_VERSION' -d'APP_REVISION=$APP_REVISION' -d'APP_MIN_OS=$APP_MIN_OS'
FLAGS += -c -pipe -fPIC -gdwarf-2
FLAGS += -m32 -mmacosx-version-min=$APP_MIN_OS -isysroot "$sdk"
FLAGS += -funsigned-char -fvisibility=hidden
FLAGS += -DNS_BUILD_32_LIKE_64 -D'NULL_STR="\uFFFF"'
FLAGS += -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch
FLAGS += -Wno-address-of-temporary
FLAGS += -IShared/include
# FLAGS += -D_GLIBCXX_DEBUG
FLAGS += -DNDEBUG -Os
# LINK = OakDebug
CXX_FLAGS += -std=gnu++11
OBJC_FLAGS += -std=c99
OBJCXX_FLAGS += -std=gnu++11
OBJCXX_FLAGS += -fobjc-call-cxx-cdtors
LN_FLAGS += -m32 -mmacosx-version-min=$APP_MIN_OS -isysroot "$sdk"
LN_FLAGS += -fvisibility=hidden
LN_FLAGS += -Wl,-dead_strip
# LN_FLAGS += -Wl,-dead_strip_dylibs
PRELUDE = Shared/PCH/prelude.*
TARGETS = vendor/target
TARGETS += Frameworks/target
TARGETS += Applications/target
TARGETS += QuickLook/TextMate/target
TARGETS += PlugIns/*/*.target