commit 267e19d7044eb444bf5fe2bcc7d19a6f407b2b69
parent 2129814c57535c3c9de6fdc3e61a04a0d936e18d
Author: bsandro <brian.drosan@gmail.com>
Date: Sat, 13 Dec 2025 01:02:56 +0200
Makefile fix
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -2,7 +2,7 @@
MAKEFLAGS+=-rR
UNAME:=$(shell uname -m)
-OS=:$(shell uname -s)
+OS:=$(shell uname -s)
CFLAGS=-std=c99 -Wall -Wextra -I.
ifeq ($(DEBUG),1)
@@ -16,6 +16,10 @@ ifeq ($(OS),NetBSD)
CFLAGS+=-I/usr/pkg/include
endif
+ifeq ($(OS),Darwin)
+CFLAGS+=-I/opt/homebrew/include
+endif
+
ifeq ($(UNAME),riscv64)
CFLAGS+=-mtune=sifive-u74
else ifeq ($(UNAME),Power Macintosh)