Fixes for modern macos

This commit is contained in:
elvis
2025-11-04 20:50:54 +01:00
parent e1bd672bcd
commit ad77a7b2e8
2 changed files with 328 additions and 332 deletions

View File

@ -1,5 +1,5 @@
CC = gcc
CFLAGS = -mmacosx-version-min=10.4 -Wall -g -framework IOKit
CC = clang
CFLAGS = -Wall -g -framework IOKit
CPPFLAGS = -DCMD_TOOL_BUILD
all: smc
@ -11,4 +11,4 @@ smc.o: smc.h smc.c
$(CC) $(CPPFLAGS) -c smc.c
clean:
-rm -f smc smc.o
@-rm -f smc smc.o