commit 3a4a28404795661b357516f3fee979ad1016f961 parent 807690760ced8713e09098e715d58d3637036d83 Author: Michael Savage <mikejsavage@gmail.com> Date: Thu Dec 29 15:57:36 +0200 Add OpenBSD to os.mk Diffstat:
os.mk | | | 7 | +++++-- |
diff --git a/os.mk b/os.mk @@ -1,8 +1,11 @@ # Makefile OS detection -ifneq ($(shell uname -s),Darwin) +ifeq ($(shell uname -s),Linux) CXXFLAGS += -fPIC LDFLAGS += -lglfw -ldl -lpthread -else +else ifeq ($(shell uname -s),Darwin) LDFLAGS += -framework OpenGL -lglfw3 +else ifeq ($(shell uname -s),OpenBSD) + CXX = eg++ + LDFLAGS += -lpthread endif