Update Allegro for OS X

This commit is contained in:
Frederik De Bleser 2016-04-19 13:55:15 +02:00
parent da9899c618
commit a88293a647

View File

@ -15,7 +15,12 @@ ifeq ($(OS),Windows_NT)
BIN := $(BIN).exe BIN := $(BIN).exe
LIBS = -lmingw32 -lallegro -lallegro_primitives -lm LIBS = -lmingw32 -lallegro -lallegro_primitives -lm
else else
LIBS = -lallegro -lallegro_primitives -lGL -lm -lGLU -lGLEW UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
LIBS = -lallegro -lallegro_primitives -lallegro_main -framework OpenGL -lm -lGLEW
else
LIBS = -lallegro -lallegro_primitives -lallegro_main -lGL -lm -lGLU -lGLEW
endif
endif endif
# Modes # Modes