From a2c088359af0aca0f8aff91108c7064979c7f63e Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 7 Mar 2021 14:31:40 +0100 Subject: 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] --- Makefile | 3 --- 1 file changed, 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 \ $< -- cgit v1.2.3