bgfx/makefile

53 lines
1.7 KiB
Makefile
Raw Normal View History

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