Merge pull request #477 from PikalaxALT/chore/support-mac-homebrew
Some checks failed
build / build (push) Has been cancelled

Calcrom: support mac homebrew
This commit is contained in:
PikalaxALT 2026-05-03 01:06:37 -04:00 committed by GitHub
commit 5a8d3a0e95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,10 @@ ifeq ($(OS),Windows_NT)
EXE := .exe
else
EXE :=
UNAME_S = $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
CXXFLAGS += "-I$(shell brew --prefix)/include"
endif
endif
CXXSRCS := calcrom.cpp BuildAnalyzer.cpp ElfFile.cpp Glob.cpp MwerksXmapFile.cpp