Different compiler flags for MacOS
This commit is contained in:
parent
465ac02048
commit
91903e04dc
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user