mirror of
https://github.com/AltraMayor/f3.git
synced 2025-09-17 11:06:16 -04:00
Merge pull request #225 from Coeur/coeur/Apple-Silicon
support building f3write and f3read on Apple Silicon
This commit is contained in:
commit
8cbe984ac6
5
Makefile
5
Makefile
@ -13,6 +13,11 @@ ifndef OS
|
|||||||
endif
|
endif
|
||||||
ifneq ($(OS), Linux)
|
ifneq ($(OS), Linux)
|
||||||
ARGP = /usr/local
|
ARGP = /usr/local
|
||||||
|
ifeq ($(OS), Darwin)
|
||||||
|
ifneq ($(shell command -v brew),)
|
||||||
|
ARGP = $(shell brew --prefix)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
CFLAGS += -I$(ARGP)/include
|
CFLAGS += -I$(ARGP)/include
|
||||||
LDFLAGS += -L$(ARGP)/lib -largp
|
LDFLAGS += -L$(ARGP)/lib -largp
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user