summaryrefslogtreecommitdiff
path: root/makefile
blob: d24bd0cd321119c5ec215c994731161835feac61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#*************************************************************************/
#*                       This file is part of:                           */
#*                           GODOT ENGINE                                */
#*                    http://www.godotengine.org                         */
#*************************************************************************/
# Simple makefile to give support for external C/C++ IDEs                */
#*************************************************************************/

# Default build
all: debug

# Release Build
release:
	scons target="release" bin/godot

# Profile Build
profile:
	scons target="profile" bin/godot

# Debug Build
debug:
	# Debug information (code size gets severely affected):
	# g: Default (same as g2)
	# g0: no debug info
	# g1: minimal info
	# g3: maximal info
	scons target="debug" CCFLAGS="-g" bin/godot

clean:
	scons -c bin/godot