medfall

A super great game engine
Log | Files | Refs

os.mk (272B)


1
2
3
4
5
6
7
8
9
10
# Makefile OS detection
ifeq ($(shell uname -s),Linux)
	LDFLAGS += -ldl -lpthread -lX11 -lXrandr -lXinerama -lXcursor
else ifeq ($(shell uname -s),Darwin)
	LDFLAGS += -framework OpenGL -lglfw3
else ifeq ($(shell uname -s),OpenBSD)
	CXX = eg++
	LDFLAGS += -lpthread
endif