aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2021-03-07 14:31:40 +0100
committerTeddy Wing2021-03-07 14:31:40 +0100
commita2c088359af0aca0f8aff91108c7064979c7f63e (patch)
treeffc800173caa042f2746803a5dc02888453ba1ca
parent010c4c0acb33e3856f223dda86ed430ed591cb23 (diff)
downloadRe-Good-Catalina-Invert-Colours-a2c088359af0aca0f8aff91108c7064979c7f63e.tar.bz2
Makefile: Remove `-framework` arguments when building DDHotKey obj files
I was getting warnings that these arguments are unused because we're not linking anything in this command: $ clang -x objective-c \ -framework Carbon \ -framework Cocoa \ -framework Foundation \ -fobjc-arc \ -c \ lib/DDHotKey/DDHotKeyCenter.m clang: warning: -framework Carbon: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -framework Cocoa: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -framework Foundation: 'linker' input unused [-Wunused-command-line-argument]
-rw-r--r--Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index eae7a14..8521325 100644
--- a/Makefile
+++ b/Makefile
@@ -22,9 +22,6 @@ build/include/*.h: lib/DDHotKey/*.h
lib/DDHotKey/%.o: lib/DDHotKey/%.m
clang -x objective-c \
-w \
- -framework Carbon \
- -framework Cocoa \
- -framework Foundation \
-fobjc-arc \
-c \
$<