Dependencies ============ GLEW, GLM, SDL2, SDL2_image CppUnit for tests archlinux: pacman -S glew glm sdl2 sdl2_image cppunit manual: CppUnit http://sourceforge.net/projects/cppunit/ GLEW http://glew.sourceforge.net/ GLM http://glm.g-truc.net/0.9.6/index.html SDL http://www.libsdl.org/ Makefile ======== Targets ------- all: build everything release (default), debug, profile: build executables tuned for running, debugging, and profiling run: build and execute the main binary test: build and run unittests gdb, cachegrind, callgrind: build the binary suited for given tool and launch clean: remove intermediates distclean: remove intermediates and artifacts (also those generated by tool invocations!) Variables --------- CXX, LXX: compiler/linker used for C++ sources/objects LIBS: names of libraries (for pkg-config) CPPFLAGS, CXXFLAGS, LDXXFLAGS: flags for the preprocessor, compiler, and linker DEBUG_FLAGS, PROFILE_FLAGS, RELEASE_FLAGS: flags for building binaries in debug, profile, and release mode