diff --git a/01_text_adventure/Makefile b/01_text_adventure/Makefile index 51708ec..3e00620 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