diff --git a/01_text_adventure/Makefile b/01_text_adventure/Makefile index a1d96d4..13ee32c 100644 --- a/01_text_adventure/Makefile +++ b/01_text_adventure/Makefile @@ -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