From 712ac4be6426a7aaeb77504210c53cfffe541bf1 Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Sat, 11 Jan 2025 22:23:20 +0100 Subject: [PATCH] fixing macOS issue --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 84e6192..37104a3 100644 --- a/Makefile +++ b/Makefile @@ -46,12 +46,12 @@ ifeq ($(TOOLCHAIN), gcc) CXXFLAGS += -Wno-error=cpp else PCH = $(CCH) - CXXFLAGS += -Wno-error=#warning -include-pch $(GCH) + CXXFLAGS += -Wno-error=#warning -include-pch $(PCH) endif ifeq ($(OS), Darwin) LDFLAGS += -L /opt/homebrew/Cellar/lib -L /usr/local/Cellar -L /opt/homebrew/lib -lSDL2 - INCLUDES += -I /opt/homebrew/Cellar/include -I /usr/local/Cellar/include -I -I /opt/homebrew/include + INCLUDES += -I /opt/homebrew/Cellar/include -I /usr/local/Cellar/include -I /opt/homebrew/include NAME = libmlx.dylib endif