bgfx/makefile

335 lines
17 KiB
Makefile
Raw Normal View History

#
2020-01-15 08:37:06 +03:00
# Copyright 2011-2020 Branimir Karadzic. All rights reserved.
2017-01-04 19:34:25 +03:00
# License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
#
UNAME := $(shell uname)
2015-04-10 17:46:49 +03:00
ifeq ($(UNAME),$(filter $(UNAME),Linux Darwin FreeBSD GNU/kFreeBSD))
ifeq ($(UNAME),$(filter $(UNAME),Darwin))
OS=darwin
else
2015-04-10 17:46:49 +03:00
ifeq ($(UNAME),$(filter $(UNAME),FreeBSD GNU/kFreeBSD))
OS=bsd
else
OS=linux
endif
2015-04-10 17:46:49 +03:00
endif
else
OS=windows
2016-03-04 11:09:18 +03:00
help: projgen
endif
2015-04-11 00:40:47 +03:00
# $(info $(OS))
2015-04-10 17:46:49 +03:00
2016-01-20 07:00:21 +03:00
BX_DIR?=../bx
GENIE?=$(BX_DIR)/tools/bin/$(OS)/genie
2016-06-23 05:56:13 +03:00
NINJA?=$(BX_DIR)/tools/bin/$(OS)/ninja
2016-03-04 10:20:51 +03:00
.PHONY: help
help:
@echo Available targets:
2016-03-04 11:09:18 +03:00
@grep -E "^[a-zA-Z0-9_-]+:.*?## .*$$" $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
2016-03-04 10:20:51 +03:00
clean: ## Clean all intermediate files.
@echo Cleaning...
-@rm -rf .build
@mkdir .build
projgen: ## Generate project files for all configurations.
2017-12-17 20:41:08 +03:00
$(GENIE) --with-tools --with-combined-examples --with-shared-lib vs2017
2017-12-22 02:05:10 +03:00
$(GENIE) --with-tools --with-combined-examples --vs=winstore100 vs2017
2017-12-17 20:41:08 +03:00
$(GENIE) --with-tools --with-combined-examples --with-shared-lib --gcc=mingw-gcc gmake
$(GENIE) --with-tools --with-combined-examples --with-shared-lib --gcc=linux-gcc gmake
$(GENIE) --with-tools --with-combined-examples --with-shared-lib --gcc=osx gmake
2020-01-29 18:00:51 +03:00
$(GENIE) --with-tools --with-combined-examples --with-shared-lib --xcode=osx xcode9
$(GENIE) --with-tools --with-combined-examples --with-shared-lib --xcode=ios xcode9
2017-12-17 20:41:08 +03:00
$(GENIE) --with-combined-examples --with-shared-lib --gcc=freebsd gmake
$(GENIE) --with-combined-examples --gcc=android-arm gmake
2019-06-27 01:29:55 +03:00
$(GENIE) --with-combined-examples --gcc=android-arm64 gmake
2017-12-17 20:41:08 +03:00
$(GENIE) --with-combined-examples --gcc=android-x86 gmake
2019-06-13 18:54:29 +03:00
$(GENIE) --with-examples --gcc=asmjs gmake
2017-12-17 20:41:08 +03:00
$(GENIE) --with-combined-examples --gcc=ios-arm gmake
$(GENIE) --with-combined-examples --gcc=ios-arm64 gmake
$(GENIE) --with-combined-examples --gcc=ios-simulator gmake
$(GENIE) --with-combined-examples --gcc=ios-simulator64 gmake
$(GENIE) --with-combined-examples --gcc=rpi gmake
2019-02-28 06:55:55 +03:00
idl: ## Generate code from IDL.
@echo Generating code from IDL.
$(GENIE) idl
2013-11-23 07:14:50 +04:00
.build/projects/gmake-android-arm:
2014-09-11 08:40:40 +04:00
$(GENIE) --gcc=android-arm gmake
2016-03-04 10:20:51 +03:00
android-arm-debug: .build/projects/gmake-android-arm ## Build - Android ARM Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-android-arm config=debug
2016-03-04 10:20:51 +03:00
android-arm-release: .build/projects/gmake-android-arm ## Build - Android ARM Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-android-arm config=release
2016-03-04 10:20:51 +03:00
android-arm: android-arm-debug android-arm-release ## Build - Android ARM Debug and Release
2013-04-16 10:10:32 +04:00
2019-06-27 01:29:55 +03:00
.build/projects/gmake-android-arm64:
$(GENIE) --gcc=android-arm64 gmake
android-arm64-debug: .build/projects/gmake-android-arm64 ## Build - Android ARM64 Debug
$(MAKE) -R -C .build/projects/gmake-android-arm64 config=debug
android-arm64-release: .build/projects/gmake-android-arm64 ## Build - Android ARM64 Release
$(MAKE) -R -C .build/projects/gmake-android-arm64 config=release
android-arm64: android-arm64-debug android-arm64-release ## Build - Android ARM64 Debug and Release
2013-11-23 07:14:50 +04:00
.build/projects/gmake-android-x86:
2014-09-11 08:40:40 +04:00
$(GENIE) --gcc=android-x86 gmake
2016-03-04 10:20:51 +03:00
android-x86-debug: .build/projects/gmake-android-x86 ## Build - Android x86 Debug and Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-android-x86 config=debug
2016-03-04 10:20:51 +03:00
android-x86-release: .build/projects/gmake-android-x86 ## Build - Android x86 Debug and Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-android-x86 config=release
2016-03-04 10:20:51 +03:00
android-x86: android-x86-debug android-x86-release ## Build - Android x86 Debug and Release
2013-11-09 22:52:19 +04:00
2014-03-17 07:10:25 +04:00
.build/projects/gmake-asmjs:
2014-09-11 08:40:40 +04:00
$(GENIE) --gcc=asmjs gmake
2016-03-04 10:20:51 +03:00
asmjs-debug: .build/projects/gmake-asmjs ## Build - Emscripten Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-asmjs config=debug
2016-03-04 10:20:51 +03:00
asmjs-release: .build/projects/gmake-asmjs ## Build - Emscripten Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-asmjs config=release
2016-03-04 10:20:51 +03:00
asmjs: asmjs-debug asmjs-release ## Build - Emscripten Debug and Release
2014-03-17 07:10:25 +04:00
2013-11-23 07:14:50 +04:00
.build/projects/gmake-linux:
2017-09-22 07:10:05 +03:00
$(GENIE) --with-tools --with-combined-examples --with-shared-lib --gcc=linux-gcc gmake
2016-03-04 10:20:51 +03:00
linux-debug64: .build/projects/gmake-linux ## Build - Linux x64 Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-linux config=debug64
2016-03-04 10:20:51 +03:00
linux-release64: .build/projects/gmake-linux ## Build - Linux x64 Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-linux config=release64
2018-04-17 08:13:21 +03:00
linux: linux-debug64 linux-release64 ## Build - Linux x86/x64 Debug and Release
2015-04-10 17:46:49 +03:00
.build/projects/gmake-freebsd:
2017-09-22 07:10:05 +03:00
$(GENIE) --with-tools --with-combined-examples --with-shared-lib --gcc=freebsd gmake
2016-03-04 10:20:51 +03:00
freebsd-debug32: .build/projects/gmake-freebsd ## Build - FreeBSD x86 Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-freebsd config=debug32
2016-03-04 10:20:51 +03:00
freebsd-release32: .build/projects/gmake-freebsd ## Build - FreeBSD x86 Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-freebsd config=release32
2016-03-04 10:20:51 +03:00
freebsd-debug64: .build/projects/gmake-freebsd ## Build - FreeBSD x86 Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-freebsd config=debug64
2016-03-04 10:20:51 +03:00
freebsd-release64: .build/projects/gmake-freebsd ## Build - FreeBSD x86 Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-freebsd config=release64
2016-03-04 10:20:51 +03:00
freebsd: freebsd-debug32 freebsd-release32 freebsd-debug64 freebsd-release64 ## Build - FreeBSD x86/x64 Debug and Release
2015-04-10 17:46:49 +03:00
2014-10-19 02:44:45 +04:00
.build/projects/gmake-mingw-gcc:
2018-08-02 20:04:10 +03:00
$(GENIE) --with-tools --with-combined-examples --with-shared-lib --os=windows --gcc=mingw-gcc gmake
2016-03-04 10:20:51 +03:00
mingw-gcc-debug32: .build/projects/gmake-mingw-gcc ## Build - MinGW GCC x86 Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-mingw-gcc config=debug32
2016-03-04 10:20:51 +03:00
mingw-gcc-release32: .build/projects/gmake-mingw-gcc ## Build - MinGW GCC x86 Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-mingw-gcc config=release32
2016-03-04 10:20:51 +03:00
mingw-gcc-debug64: .build/projects/gmake-mingw-gcc ## Build - MinGW GCC x64 Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-mingw-gcc config=debug64
2016-03-04 10:20:51 +03:00
mingw-gcc-release64: .build/projects/gmake-mingw-gcc ## Build - MinGW GCC x64 Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-mingw-gcc config=release64
2016-03-04 10:20:51 +03:00
mingw-gcc: mingw-gcc-debug32 mingw-gcc-release32 mingw-gcc-debug64 mingw-gcc-release64 ## Build - MinGW GCC x86/x64 Debug and Release
2014-12-13 08:19:13 +03:00
.build/projects/gmake-mingw-clang:
2015-02-01 02:21:53 +03:00
$(GENIE) --gcc=mingw-clang gmake
2016-03-04 10:20:51 +03:00
mingw-clang-debug32: .build/projects/gmake-mingw-clang ## Build - MinGW Clang x86 Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-mingw-clang config=debug32
2016-03-04 10:20:51 +03:00
mingw-clang-release32: .build/projects/gmake-mingw-clang ## Build - MinGW Clang x86 Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-mingw-clang config=release32
2016-03-04 10:20:51 +03:00
mingw-clang-debug64: .build/projects/gmake-mingw-clang ## Build - MinGW Clang x64 Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-mingw-clang config=debug64
2016-03-04 10:20:51 +03:00
mingw-clang-release64: .build/projects/gmake-mingw-clang ## Build - MinGW Clang x64 Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-mingw-clang config=release64
2016-03-04 10:20:51 +03:00
mingw-clang: mingw-clang-debug32 mingw-clang-release32 mingw-clang-debug64 mingw-clang-release64 ## Build - MinGW Clang x86/x64 Debug and Release
2016-12-04 03:38:45 +03:00
.build/projects/vs2017:
2017-09-22 07:10:05 +03:00
$(GENIE) --with-tools --with-combined-examples --with-shared-lib vs2017
2016-12-04 03:38:45 +03:00
vs2017-debug32: .build/projects/vs2017 ## Build - vs2017 x86 Debug
devenv .build/projects/vs2017/bgfx.sln /Build "Debug|Win32"
vs2017-release32: .build/projects/vs2017 ## Build - vs2017 x86 Release
devenv .build/projects/vs2017/bgfx.sln /Build "Release|Win32"
vs2017-debug64: .build/projects/vs2017 ## Build - vs2017 x64 Debug
devenv .build/projects/vs2017/bgfx.sln /Build "Debug|x64"
vs2017-release64: .build/projects/vs2017 ## Build - vs2017 x64 Release
devenv .build/projects/vs2017/bgfx.sln /Build "Release|x64"
vs2017: vs2017-debug32 vs2017-release32 vs2017-debug64 vs2017-release64 ## Build - vs2017 x86/x64 Debug and Release
2017-12-15 10:03:01 +03:00
.build/projects/vs2017-winstore100:
$(GENIE) --with-combined-examples --vs=winstore100 vs2017
vs2017-winstore100-debug32: .build/projects/vs2017-winstore100 ## Build - vs2017-winstore100 x86 Debug
devenv .build/projects/vs2017-winstore100/bgfx.sln /Build "Debug|Win32"
vs2017-winstore100-release32: .build/projects/vs2017-winstore100 ## Build - vs2017-winstore100 x86 Release
devenv .build/projects/vs2017-winstore100/bgfx.sln /Build "Release|Win32"
vs2017-winstore100-debug64: .build/projects/vs2017-winstore100 ## Build - vs2017-winstore100 x64 Debug
devenv .build/projects/vs2017-winstore100/bgfx.sln /Build "Debug|x64"
vs2017-winstore100-release64: .build/projects/vs2017-winstore100 ## Build - vs2017-winstore100 x64 Release
devenv .build/projects/vs2017-winstore100/bgfx.sln /Build "Release|x64"
vs2017-winstore100: vs2017-winstore100-debug32 vs2017-winstore100-release32 vs2017-winstore100-debug64 vs2017-winstore100-release64 ## Build - vs2017-winstore100 x86/x64 Debug and Release
2013-11-23 07:14:50 +04:00
.build/projects/gmake-osx:
2017-09-22 07:10:05 +03:00
$(GENIE) --with-tools --with-combined-examples --with-shared-lib --gcc=osx gmake
2016-03-04 10:20:51 +03:00
osx-debug64: .build/projects/gmake-osx ## Build - OSX x64 Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -C .build/projects/gmake-osx config=debug64
2016-03-04 10:20:51 +03:00
osx-release64: .build/projects/gmake-osx ## Build - OSX x64 Release
2015-04-10 17:46:49 +03:00
$(MAKE) -C .build/projects/gmake-osx config=release64
2019-02-03 20:45:24 +03:00
osx: osx-debug64 osx-release64 ## Build - OSX x64 Debug and Release
2013-11-23 07:14:50 +04:00
.build/projects/gmake-ios-arm:
2014-09-11 08:40:40 +04:00
$(GENIE) --gcc=ios-arm gmake
2016-03-04 10:20:51 +03:00
ios-arm-debug: .build/projects/gmake-ios-arm ## Build - iOS ARM Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-ios-arm config=debug
2016-03-04 10:20:51 +03:00
ios-arm-release: .build/projects/gmake-ios-arm ## Build - iOS ARM Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-ios-arm config=release
2016-03-04 10:20:51 +03:00
ios-arm: ios-arm-debug ios-arm-release ## Build - iOS ARM Debug and Release
2013-07-22 01:44:53 +04:00
.build/projects/gmake-ios-arm64:
$(GENIE) --gcc=ios-arm64 gmake
ios-arm64-debug: .build/projects/gmake-ios-arm64 ## Build - iOS ARM64 Debug
$(MAKE) -R -C .build/projects/gmake-ios-arm64 config=debug
ios-arm64-release: .build/projects/gmake-ios-arm64 ## Build - iOS ARM64 Release
$(MAKE) -R -C .build/projects/gmake-ios-arm64 config=release
ios-arm64: ios-arm64-debug ios-arm64-release ## Build - iOS ARM64 Debug and Release
2013-11-23 07:14:50 +04:00
.build/projects/gmake-ios-simulator:
2014-09-11 08:40:40 +04:00
$(GENIE) --gcc=ios-simulator gmake
2016-03-04 10:20:51 +03:00
ios-simulator-debug: .build/projects/gmake-ios-simulator ## Build - iOS Simulator Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-ios-simulator config=debug
2016-03-04 10:20:51 +03:00
ios-simulator-release: .build/projects/gmake-ios-simulator ## Build - iOS Simulator Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-ios-simulator config=release
2016-03-04 10:20:51 +03:00
ios-simulator: ios-simulator-debug ios-simulator-release ## Build - iOS Simulator Debug and Release
2013-07-15 00:14:48 +04:00
2017-12-17 20:41:08 +03:00
.build/projects/gmake-ios-simulator64:
$(GENIE) --gcc=ios-simulator64 gmake
ios-simulator64-debug: .build/projects/gmake-ios-simulator64 ## Build - iOS Simulator Debug
$(MAKE) -R -C .build/projects/gmake-ios-simulator64 config=debug
ios-simulator64-release: .build/projects/gmake-ios-simulator64 ## Build - iOS Simulator Release
$(MAKE) -R -C .build/projects/gmake-ios-simulator64 config=release
ios-simulator64: ios-simulator64-debug ios-simulator64-release ## Build - iOS Simulator Debug and Release
2014-08-25 04:41:41 +04:00
.build/projects/gmake-rpi:
2014-09-11 08:40:40 +04:00
$(GENIE) --gcc=rpi gmake
2016-03-04 10:20:51 +03:00
rpi-debug: .build/projects/gmake-rpi ## Build - RasberryPi Debug
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-rpi config=debug
2016-03-04 10:20:51 +03:00
rpi-release: .build/projects/gmake-rpi ## Build - RasberryPi Release
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C .build/projects/gmake-rpi config=release
2016-03-04 10:20:51 +03:00
rpi: rpi-debug rpi-release ## Build - RasberryPi Debug and Release
2014-08-25 04:41:41 +04:00
2016-01-20 06:58:06 +03:00
build-darwin: osx
build-linux: linux-debug64 linux-release64
build-windows: mingw-gcc
build: build-$(OS)
rebuild-shaders:
2015-04-10 17:46:49 +03:00
$(MAKE) -R -C examples rebuild
2016-06-23 05:56:13 +03:00
assets: # Build assets.
$(NINJA) -C scripts
analyze:
cppcheck src/
cppcheck examples/
docs:
2014-10-04 07:28:31 +04:00
doxygen scripts/bgfx.doxygen
markdown README.md > .build/docs/readme.html
###
SILENT ?= @
UNAME := $(shell uname)
2015-04-10 17:46:49 +03:00
ifeq ($(UNAME),$(filter $(UNAME),Linux Darwin FreeBSD GNU/kFreeBSD))
ifeq ($(UNAME),$(filter $(UNAME),Darwin))
OS=darwin
BUILD_PROJECT_DIR=gmake-osx
2014-11-12 06:28:30 +03:00
BUILD_OUTPUT_DIR=osx64_clang
2014-02-10 07:05:33 +04:00
BUILD_TOOLS_CONFIG=release64
2015-04-01 01:09:43 +03:00
BUILD_TOOLS_SUFFIX=Release
EXE=
else
2015-04-10 17:46:49 +03:00
ifeq ($(UNAME),$(filter $(UNAME),FreeBSD GNU/kFreeBSD))
OS=bsd
BUILD_PROJECT_DIR=gmake-freebsd
BUILD_OUTPUT_DIR=freebsd64_gcc
BUILD_TOOLS_CONFIG=release64
BUILD_TOOLS_SUFFIX=Release
EXE=
else
OS=linux
BUILD_PROJECT_DIR=gmake-linux
2014-02-10 07:05:33 +04:00
BUILD_OUTPUT_DIR=linux64_gcc
BUILD_TOOLS_CONFIG=release64
2015-04-01 01:09:43 +03:00
BUILD_TOOLS_SUFFIX=Release
EXE=
endif
2015-04-10 17:46:49 +03:00
endif
else
OS=windows
2014-10-19 02:44:45 +04:00
BUILD_PROJECT_DIR=gmake-mingw-gcc
2016-02-26 08:08:11 +03:00
BUILD_OUTPUT_DIR=win64_mingw-gcc
BUILD_TOOLS_CONFIG=release64
2015-04-01 01:09:43 +03:00
BUILD_TOOLS_SUFFIX=Release
EXE=.exe
endif
2016-03-04 10:20:51 +03:00
geometryc: .build/projects/$(BUILD_PROJECT_DIR) ## Build geometryc tool.
2016-04-22 17:25:55 +03:00
$(SILENT) $(MAKE) -C .build/projects/$(BUILD_PROJECT_DIR) geometryc config=$(BUILD_TOOLS_CONFIG)
2016-02-02 09:11:49 +03:00
$(SILENT) cp .build/$(BUILD_OUTPUT_DIR)/bin/geometryc$(BUILD_TOOLS_SUFFIX)$(EXE) tools/bin/$(OS)/geometryc$(EXE)
2019-06-21 00:33:07 +03:00
geometryv: .build/projects/$(BUILD_PROJECT_DIR) ## Build geometryv tool.
$(SILENT) $(MAKE) -C .build/projects/$(BUILD_PROJECT_DIR) geometryv config=$(BUILD_TOOLS_CONFIG)
$(SILENT) cp .build/$(BUILD_OUTPUT_DIR)/bin/geometryv$(BUILD_TOOLS_SUFFIX)$(EXE) tools/bin/$(OS)/geometryv$(EXE)
2016-03-04 10:20:51 +03:00
shaderc: .build/projects/$(BUILD_PROJECT_DIR) ## Build shaderc tool.
2016-04-22 17:25:55 +03:00
$(SILENT) $(MAKE) -C .build/projects/$(BUILD_PROJECT_DIR) shaderc config=$(BUILD_TOOLS_CONFIG)
2016-02-02 09:11:49 +03:00
$(SILENT) cp .build/$(BUILD_OUTPUT_DIR)/bin/shaderc$(BUILD_TOOLS_SUFFIX)$(EXE) tools/bin/$(OS)/shaderc$(EXE)
2016-03-04 10:20:51 +03:00
texturec: .build/projects/$(BUILD_PROJECT_DIR) ## Build texturec tool.
2016-04-22 17:25:55 +03:00
$(SILENT) $(MAKE) -C .build/projects/$(BUILD_PROJECT_DIR) texturec config=$(BUILD_TOOLS_CONFIG)
2016-02-02 09:11:49 +03:00
$(SILENT) cp .build/$(BUILD_OUTPUT_DIR)/bin/texturec$(BUILD_TOOLS_SUFFIX)$(EXE) tools/bin/$(OS)/texturec$(EXE)
2015-12-28 07:04:17 +03:00
2016-04-22 08:12:35 +03:00
texturev: .build/projects/$(BUILD_PROJECT_DIR) ## Build texturev tool.
$(SILENT) $(MAKE) -C .build/projects/$(BUILD_PROJECT_DIR) texturev config=$(BUILD_TOOLS_CONFIG)
$(SILENT) cp .build/$(BUILD_OUTPUT_DIR)/bin/texturev$(BUILD_TOOLS_SUFFIX)$(EXE) tools/bin/$(OS)/texturev$(EXE)
2019-06-21 00:33:07 +03:00
tools: geometryc geometryv shaderc texturec texturev ## Build tools.
2016-02-26 08:08:11 +03:00
2016-12-23 08:14:16 +03:00
clean-tools: ## Clean tools projects.
-$(SILENT) rm -r .build/projects/$(BUILD_PROJECT_DIR)
2016-02-26 08:08:11 +03:00
dist-windows: .build/projects/gmake-mingw-gcc
$(SILENT) $(MAKE) -C .build/projects/gmake-mingw-gcc config=release64 -j 6 geometryc
2016-04-30 21:08:56 +03:00
$(SILENT) cp .build/win64_mingw-gcc/bin/geometrycRelease.exe tools/bin/windows/geometryc.exe
2019-06-21 00:33:07 +03:00
$(SILENT) $(MAKE) -C .build/projects/gmake-mingw-gcc config=release64 -j 6 geometryv
$(SILENT) cp .build/win64_mingw-gcc/bin/geometryvRelease.exe tools/bin/windows/geometryv.exe
2016-02-26 08:08:11 +03:00
$(SILENT) $(MAKE) -C .build/projects/gmake-mingw-gcc config=release64 -j 6 shaderc
2016-04-30 21:08:56 +03:00
$(SILENT) cp .build/win64_mingw-gcc/bin/shadercRelease.exe tools/bin/windows/shaderc.exe
2016-02-26 08:08:11 +03:00
$(SILENT) $(MAKE) -C .build/projects/gmake-mingw-gcc config=release64 -j 6 texturec
2016-04-30 21:08:56 +03:00
$(SILENT) cp .build/win64_mingw-gcc/bin/texturecRelease.exe tools/bin/windows/texturec.exe
$(SILENT) $(MAKE) -C .build/projects/gmake-mingw-gcc config=release64 -j 6 texturev
$(SILENT) cp .build/win64_mingw-gcc/bin/texturevRelease.exe tools/bin/windows/texturev.exe
2016-02-26 08:08:11 +03:00
dist-linux: .build/projects/gmake-linux
$(SILENT) $(MAKE) -C .build/projects/gmake-linux config=release64 -j 6 geometryc
$(SILENT) cp .build/linux64_gcc/bin/geometrycRelease tools/bin/linux/geometryc
2019-06-21 00:33:07 +03:00
$(SILENT) $(MAKE) -C .build/projects/gmake-linux config=release64 -j 6 geometryv
$(SILENT) cp .build/linux64_gcc/bin/geometryvRelease tools/bin/linux/geometryv
2016-02-26 08:08:11 +03:00
$(SILENT) $(MAKE) -C .build/projects/gmake-linux config=release64 -j 6 shaderc
$(SILENT) cp .build/linux64_gcc/bin/shadercRelease tools/bin/linux/shaderc
$(SILENT) $(MAKE) -C .build/projects/gmake-linux config=release64 -j 6 texturec
$(SILENT) cp .build/linux64_gcc/bin/texturecRelease tools/bin/linux/texturec
2016-04-30 21:08:56 +03:00
$(SILENT) $(MAKE) -C .build/projects/gmake-linux config=release64 -j 6 texturev
$(SILENT) cp .build/linux64_gcc/bin/texturevRelease tools/bin/linux/texturev
2016-02-26 08:08:11 +03:00
dist-darwin: .build/projects/gmake-osx
$(SILENT) $(MAKE) -C .build/projects/gmake-osx config=release64 -j 6 geometryc
$(SILENT) cp .build/osx64_clang/bin/geometrycRelease tools/bin/darwin/geometryc
2019-06-21 00:33:07 +03:00
$(SILENT) $(MAKE) -C .build/projects/gmake-osx config=release64 -j 6 geometryv
$(SILENT) cp .build/osx64_clang/bin/geometryvRelease tools/bin/darwin/geometryv
2016-02-26 08:08:11 +03:00
$(SILENT) $(MAKE) -C .build/projects/gmake-osx config=release64 -j 6 shaderc
$(SILENT) cp .build/osx64_clang/bin/shadercRelease tools/bin/darwin/shaderc
$(SILENT) $(MAKE) -C .build/projects/gmake-osx config=release64 -j 6 texturec
$(SILENT) cp .build/osx64_clang/bin/texturecRelease tools/bin/darwin/texturec
2016-04-30 21:08:56 +03:00
$(SILENT) $(MAKE) -C .build/projects/gmake-osx config=release64 -j 6 texturev
$(SILENT) cp .build/osx64_clang/bin/texturevRelease tools/bin/darwin/texturev
2016-02-26 08:08:11 +03:00
dist: clean dist-windows dist-linux dist-darwin