aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorreduz2014-03-12 08:53:59 -0700
committerreduz2014-03-12 08:53:59 -0700
commit3dcfdc057c12e8ee9cf0b0eee2be8ec605146c32 (patch)
tree1482d834648fd5181e8df8615ee823d4ded4c49b /makefile
parent30aaca25d65207b5adcccce1558c5af0702a92dd (diff)
parentcaa1586480bb9105a43e6790a9025c931af7452f (diff)
downloadgodot-3dcfdc057c12e8ee9cf0b0eee2be8ec605146c32.tar.gz
godot-3dcfdc057c12e8ee9cf0b0eee2be8ec605146c32.tar.zst
godot-3dcfdc057c12e8ee9cf0b0eee2be8ec605146c32.zip
Merge pull request #175 from MysticTreeGames/master
Engine build improvements
Diffstat (limited to 'makefile')
-rw-r--r--makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 000000000..d24bd0cd3
--- /dev/null
+++ b/makefile
@@ -0,0 +1,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