summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 3f3eb65..4951669 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,12 @@
GENERATE_BINDINGS = no
HEADERS = godot_headers
TARGET = debug
-NAME = godot-cpp
USE_CLANG = no
-BASE = scons n=$(NAME) use_llvm=$(USE_CLANG) generate_bindings=$(GENERATE_BINDINGS) target=$(TARGET) headers=$(HEADERS) -j4
-LINUX = $(BASE) p=linux
-WINDOWS = $(BASE) p=windows
-OSX = $(BASE) p=osx
+BASE = scons use_llvm=$(USE_CLANG) generate_bindings=$(GENERATE_BINDINGS) target=$(TARGET) headers=$(HEADERS) -j4
+LINUX = $(BASE) platform=linux
+WINDOWS = $(BASE) platform=windows
+OSX = $(BASE) platform=osx
all:
@@ -20,10 +19,10 @@ linux:
make linux64
linux32: SConstruct
- $(LINUX) a=32
+ $(LINUX) bits=32
linux64: SConstruct
- $(LINUX) a=64
+ $(LINUX) bits=64
windows:
@@ -31,10 +30,10 @@ windows:
make windows64
windows32: SConstruct
- $(WINDOWS) a=32
+ $(WINDOWS) bits=32
windows64: SConstruct
- $(WINDOWS) a=64
+ $(WINDOWS) bits=64
osx:
@@ -42,7 +41,7 @@ osx:
make osx64
osx32: SConstruct
- $(OSX) a=32
+ $(OSX) bits=32
osx64: SConstruct
- $(OSX) a=64
+ $(OSX) bits=64