Different compiler flags for MacOS

This commit is contained in:
Bill Rossi 2025-01-20 21:49:20 -05:00
parent 465ac02048
commit 91903e04dc

View File

@ -1,5 +1,9 @@
CC=gcc
CFLAGS=-Wall -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
ifeq ($(shell uname),Darwin)
CFLAGS=-Wall -lraylib -lm -lpthread -ldl -lX11
else
CFLAGS=-Wall -lraylib -lGL -lm -lpthread -ldl -lrt -lX11
endif
.PHONY: clean run