mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
fixing macOS issue
This commit is contained in:
4
Makefile
4
Makefile
@@ -46,12 +46,12 @@ ifeq ($(TOOLCHAIN), gcc)
|
|||||||
CXXFLAGS += -Wno-error=cpp
|
CXXFLAGS += -Wno-error=cpp
|
||||||
else
|
else
|
||||||
PCH = $(CCH)
|
PCH = $(CCH)
|
||||||
CXXFLAGS += -Wno-error=#warning -include-pch $(GCH)
|
CXXFLAGS += -Wno-error=#warning -include-pch $(PCH)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OS), Darwin)
|
ifeq ($(OS), Darwin)
|
||||||
LDFLAGS += -L /opt/homebrew/Cellar/lib -L /usr/local/Cellar -L /opt/homebrew/lib -lSDL2
|
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
|
NAME = libmlx.dylib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user