2013-03-17 19:10:50 -04:00
|
|
|
#
|
|
|
|
# Copyright 2011-2013 Branimir Karadzic. All rights reserved.
|
|
|
|
# License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
|
|
#
|
|
|
|
|
|
|
|
BGFX_DIR=../..
|
|
|
|
RUNTIME_DIR=$(BGFX_DIR)/examples/runtime
|
|
|
|
BUILD_DIR=../../.build
|
|
|
|
|
|
|
|
include $(BGFX_DIR)/premake/shader.mk
|
|
|
|
|
|
|
|
geometry: ../runtime/meshes/bunny.bin
|
|
|
|
|
|
|
|
../runtime/meshes/bunny.bin: bunny.obj
|
2013-05-08 01:37:19 -04:00
|
|
|
../../tools/bin/geometryc -f bunny.obj -o ../runtime/meshes/bunny.bin --packnormal 1
|
2013-03-17 19:10:50 -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
|