bgfx/makefile

59 lines
1.9 KiB
Makefile
Raw Normal View History

2012-09-17 04:36:08 +04:00
#
2013-01-13 22:57:24 +04:00
# Copyright 2011-2013 Branimir Karadzic. All rights reserved.
2012-09-17 04:36:08 +04:00
# License: http://www.opensource.org/licenses/BSD-2-Clause
#
all:
2012-09-17 04:59:21 +04:00
premake --file=premake/premake4.lua vs2008
2012-11-11 07:59:23 +04:00
premake --file=premake/premake4.lua vs2010
2012-09-17 04:59:21 +04:00
premake --file=premake/premake4.lua --gcc=nacl gmake
2012-12-09 03:24:51 +04:00
premake --file=premake/premake4.lua --gcc=pnacl gmake
2012-09-17 04:59:21 +04:00
premake --file=premake/premake4.lua --gcc=mingw gmake
premake --file=premake/premake4.lua --gcc=linux gmake
2012-10-22 09:09:14 +04:00
premake --file=premake/premake4.lua --gcc=emscripten gmake
premake --file=premake/premake4.lua xcode4
2012-09-17 04:36:08 +04:00
make -s --no-print-directory -C src
2012-10-22 09:09:14 +04:00
linux-debug32:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-linux config=debug32
2012-10-22 09:09:14 +04:00
linux-release32:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-linux config=release32
2012-10-22 09:09:14 +04:00
linux-debug64:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-linux config=debug64
2012-10-22 09:09:14 +04:00
linux-release64:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-linux config=release64
2012-10-22 09:09:14 +04:00
linux: linux-debug32 linux-release32 linux-debug64 linux-release64
2012-09-17 04:36:08 +04:00
mingw-debug32:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-mingw config=debug32
2012-09-17 04:36:08 +04:00
mingw-release32:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-mingw config=release32
2012-09-17 04:36:08 +04:00
mingw-debug64:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-mingw config=debug64
2012-09-17 04:36:08 +04:00
mingw-release64:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-mingw config=release64
2012-09-17 04:36:08 +04:00
mingw: mingw-debug32 mingw-release32 mingw-debug64 mingw-release64
2012-10-22 09:09:14 +04:00
nacl-debug32:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-nacl config=debug32
2012-10-22 09:09:14 +04:00
nacl-release32:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-nacl config=release32
2012-10-22 09:09:14 +04:00
nacl-debug64:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-nacl config=debug64
2012-10-22 09:09:14 +04:00
nacl-release64:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-nacl config=release64
2012-10-22 09:09:14 +04:00
nacl: nacl-debug32 nacl-release32 nacl-debug64 nacl-release64
2012-11-11 07:59:23 +04:00
2012-12-09 03:24:51 +04:00
pnacl-debug:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-pnacl config=debug64
2012-12-09 03:24:51 +04:00
pnacl-release:
2012-12-29 05:09:34 +04:00
make -R -C .build/projects/gmake-pnacl config=release64
2012-12-09 03:24:51 +04:00
2012-11-11 07:59:23 +04:00
docs:
2012-12-03 08:49:04 +04:00
markdown README.md > .build/docs/readme.html
2012-11-28 09:18:35 +04:00
clean:
@echo Cleaning...
-rm -r .build
-rm -r .debug