mirror of
https://github.com/godotengine/godot
synced 2024-09-05 06:18:39 +00:00
![Moritz Wundke](/assets/img/avatar_default.png)
Make file is configured by default to act identically as a default SCons build. Baseic actions such as all and clean will be supported by default by quite all IDE for building and rebuilding. Additionaly you can configure your targets for release, debug or profile mode.
31 lines
920 B
Makefile
31 lines
920 B
Makefile
#*************************************************************************/
|
|
#* 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
|