2012-10-07 23:41:18 -04:00
|
|
|
#
|
2013-01-13 13:57:24 -05:00
|
|
|
# Copyright 2011-2013 Branimir Karadzic. All rights reserved.
|
2012-10-07 23:41:18 -04:00
|
|
|
# License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
|
|
#
|
|
|
|
|
|
|
|
BGFX_DIR=../..
|
|
|
|
RUNTIME_DIR=$(BGFX_DIR)/examples/runtime
|
2012-11-25 21:24:50 -05:00
|
|
|
BUILD_DIR=../../.build
|
2012-10-07 23:41:18 -04:00
|
|
|
|
|
|
|
include $(BGFX_DIR)/premake/shader.mk
|
2012-10-28 00:34:41 -04:00
|
|
|
|
2012-12-28 20:09:34 -05:00
|
|
|
geometry: ../runtime/meshes/bunny.bin
|
|
|
|
|
|
|
|
../runtime/meshes/bunny.bin: bunny.obj
|
|
|
|
..\..\tools\bin\geometryc -f bunny.obj -o ..\runtime\meshes\bunny.bin --packnormal 1
|
|
|
|
|
2012-10-28 00:34:41 -04:00
|
|
|
rebuild:
|
|
|
|
@make -s --no-print-directory TARGET=0 clean all
|
|
|
|
@make -s --no-print-directory TARGET=1 clean all
|
|
|
|
@make -s --no-print-directory TARGET=2 clean all
|
|
|
|
@make -s --no-print-directory TARGET=3 clean all
|
|
|
|
@make -s --no-print-directory TARGET=4 clean all
|