2021-08-18 14:03:52 +00:00
|
|
|
GENERATE_BINDINGS = auto
|
2021-02-26 09:02:35 +00:00
|
|
|
HEADERS = godot-headers
|
2018-02-22 22:16:25 +00:00
|
|
|
TARGET = debug
|
2018-03-02 18:03:57 +00:00
|
|
|
USE_CLANG = no
|
2018-02-22 22:16:25 +00:00
|
|
|
|
2019-03-10 11:38:55 +00:00
|
|
|
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
|
2018-02-22 22:16:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
make linux
|
|
|
|
make windows
|
|
|
|
|
|
|
|
|
|
|
|
linux:
|
|
|
|
make linux32
|
|
|
|
make linux64
|
|
|
|
|
|
|
|
linux32: SConstruct
|
2019-03-10 11:38:55 +00:00
|
|
|
$(LINUX) bits=32
|
2018-02-22 22:16:25 +00:00
|
|
|
|
|
|
|
linux64: SConstruct
|
2019-03-10 11:38:55 +00:00
|
|
|
$(LINUX) bits=64
|
2018-02-22 22:16:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
windows:
|
|
|
|
make windows32
|
|
|
|
make windows64
|
|
|
|
|
|
|
|
windows32: SConstruct
|
2019-03-10 11:38:55 +00:00
|
|
|
$(WINDOWS) bits=32
|
2018-02-22 22:16:25 +00:00
|
|
|
|
|
|
|
windows64: SConstruct
|
2019-03-10 11:38:55 +00:00
|
|
|
$(WINDOWS) bits=64
|
2018-02-22 22:16:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
osx:
|
|
|
|
make osx32
|
|
|
|
make osx64
|
|
|
|
|
|
|
|
osx32: SConstruct
|
2019-03-10 11:38:55 +00:00
|
|
|
$(OSX) bits=32
|
2018-02-22 22:16:25 +00:00
|
|
|
|
|
|
|
osx64: SConstruct
|
2019-03-10 11:38:55 +00:00
|
|
|
$(OSX) bits=64
|