We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a4f655 commit 704ad63Copy full SHA for 704ad63
Makefile
@@ -1,9 +1,7 @@
1
BIN_NAME = lazykeys
2
SRC_FILES = $(wildcard src/*.swift)
3
LIBS = -framework Cocoa -framework Carbon -framework Foundation
4
-
5
VERSION ?= dev-$(shell date -Idate)
6
7
BIN_DIR = bin
8
OUTPUT = $(BIN_DIR)/$(BIN_NAME)
9
@@ -23,6 +21,9 @@ build: version.h $(OUTPUT)
23
21
$(OUTPUT): $(SRC_FILES) | $(BIN_DIR)
24
22
xcrun swiftc -I. -import-objc-header version.h \
25
-O \
+ -whole-module-optimization \
+ -Xcc -flto \
26
+ -Xlinker -dead_strip \
27
$(LIBS) \
28
$(SRC_FILES) \
29
-o $(OUTPUT)
0 commit comments