|
|
@ -2,10 +2,13 @@
|
|
|
|
# Cross Platform Makefile
|
|
|
|
# Cross Platform Makefile
|
|
|
|
# Compatible with MSYS2/MINGW, Ubuntu 14.04.1 and Mac OS X
|
|
|
|
# Compatible with MSYS2/MINGW, Ubuntu 14.04.1 and Mac OS X
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# You will need GLFW (http://www.glfw.org):
|
|
|
|
# if you using Mac OS X:
|
|
|
|
# Linux:
|
|
|
|
# You'll need glfw
|
|
|
|
# apt-get install libglfw-dev
|
|
|
|
# http://www.glfw.org
|
|
|
|
# Mac OS X:
|
|
|
|
|
|
|
|
# brew install glfw
|
|
|
|
|
|
|
|
# MSYS2:
|
|
|
|
|
|
|
|
# pacman -S --noconfirm --needed mingw-w64-x86_64-toolchain mingw-w64-x86_64-glfw
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
#CXX = g++
|
|
|
|
#CXX = g++
|
|
|
@ -46,6 +49,7 @@ ifeq ($(findstring MINGW,$(UNAME_S)),MINGW)
|
|
|
|
CFLAGS = $(CXXFLAGS)
|
|
|
|
CFLAGS = $(CXXFLAGS)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.cpp.o:
|
|
|
|
.cpp.o:
|
|
|
|
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
|
|
|
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
|
|
|
|
|
|
|
|
|
|
|