forked from textmate/textmate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
target
38 lines (30 loc) · 1.21 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
32
33
34
35
36
37
38
PLIST_FLAGS = -d'APP_NAME=$APP_NAME' -d'APP_VERSION=$APP_VERSION' -d'APP_MIN_OS=$APP_MIN_OS'
FLAGS += -c -pipe -fPIC -gdwarf-2
FLAGS += -m64 -mmacosx-version-min=$APP_MIN_OS
FLAGS += -funsigned-char
FLAGS += -D'NULL_STR="\uFFFF"'
FLAGS += -DREST_API='"$rest_api"'
FLAGS += -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch
FLAGS += -IShared/include
FLAGS += -fcolor-diagnostics
# FLAGS += -D_GLIBCXX_DEBUG
FLAGS += -DNDEBUG -Os
# LINK = OakDebug
CXX_FLAGS += -fvisibility=hidden -std=c++14
OBJC_FLAGS += -fvisibility=hidden -fobjc-arc -std=c99 -fobjc-abi-version=3
OBJCXX_FLAGS += -fvisibility=hidden -std=c++14 -fobjc-abi-version=3
OBJCXX_FLAGS += -fobjc-arc -fobjc-call-cxx-cdtors
LIBS += c++
FLAGS += -flto=thin
LN_FLAGS += -flto=thin -Wl,-cache_path_lto,"$builddir/lto-cache"
LN_FLAGS += -m64 -mmacosx-version-min=$APP_MIN_OS
LN_FLAGS += -fvisibility=hidden
LN_FLAGS += -Wl,-dead_strip
LN_FLAGS += -Wl,-dead_strip_dylibs
FLAGS += -I"$libressl_prefix/include"
FLAGS += -I"$capnp_prefix/include"
PRELUDE = Shared/PCH/prelude.*
TARGETS = vendor/*/target
TARGETS += Frameworks/*/target
TARGETS += Applications/target
TARGETS += PlugIns/*/*.target