diff options
| author | Teddy Wing | 2021-03-07 14:31:40 +0100 |
|---|---|---|
| committer | Teddy Wing | 2021-03-07 14:31:40 +0100 |
| commit | a2c088359af0aca0f8aff91108c7064979c7f63e (patch) | |
| tree | ffc800173caa042f2746803a5dc02888453ba1ca | |
| parent | 010c4c0acb33e3856f223dda86ed430ed591cb23 (diff) | |
| download | Re-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-- | Makefile | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 \ $< |
