makefile 691 B

12345678910111213141516171819202122
  1. #
  2. # Copyright 2011-2013 Branimir Karadzic. All rights reserved.
  3. # License: http://www.opensource.org/licenses/BSD-2-Clause
  4. #
  5. BGFX_DIR=../..
  6. RUNTIME_DIR=$(BGFX_DIR)/examples/runtime
  7. BUILD_DIR=../../.build
  8. include $(BGFX_DIR)/premake/shader.mk
  9. geometry: ../runtime/meshes/bunny.bin
  10. ../runtime/meshes/bunny.bin: bunny.obj
  11. ..\..\tools\bin\geometryc -f bunny.obj -o ..\runtime\meshes\bunny.bin --packnormal 1
  12. rebuild:
  13. @make -s --no-print-directory TARGET=0 clean all
  14. @make -s --no-print-directory TARGET=1 clean all
  15. @make -s --no-print-directory TARGET=2 clean all
  16. @make -s --no-print-directory TARGET=3 clean all
  17. @make -s --no-print-directory TARGET=4 clean all