]> git.localhorst.tv Git - blank.git/blob - building
added ability to get seperate information about block face obstruction
[blank.git] / building
1 Dependencies
2 ============
3
4         GLEW, GLM, SDL2, SDL2_image
5
6 archlinux: pacman -S glew glm sdl2 sdl2_image
7
8
9 Makefile
10 ========
11
12 Targets
13 -------
14
15 all:
16         build everything
17
18 release (default), debug, profile:
19         build executables tuned for running, debugging, and profiling
20
21 run:
22         build and execute the main binary
23
24 gdb, cachegrind, callgrind:
25         build the binary suited for given tool and launch
26
27 clean:
28         remove intermediates
29
30 distclean:
31         remove intermediates and artifacts
32         (also those generated by tool invocations!)
33
34
35 Variables
36 ---------
37
38 CXX, LXX:
39         compiler/linker used for C++ sources/objects
40
41 LIBS:
42         names of libraries (for pkg-config)
43
44 CPPFLAGS, CXXFLAGS, LDXXFLAGS:
45         flags for the preprocessor, compiler, and linker
46
47 DEBUG_FLAGS, PROFILE_FLAGS, RELEASE_FLAGS:
48         flags for building binaries in debug, profile, and release mode