Browse Source

Updated makefile.

Branimir Karadžić 9 years ago
parent
commit
be4bd0a7b0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      makefile

+ 4 - 0
makefile

@@ -25,6 +25,7 @@ endif
 
 
 BX_DIR?=../bx
 BX_DIR?=../bx
 GENIE?=$(BX_DIR)/tools/bin/$(OS)/genie
 GENIE?=$(BX_DIR)/tools/bin/$(OS)/genie
+NINJA?=$(BX_DIR)/tools/bin/$(OS)/ninja
 
 
 .PHONY: help
 .PHONY: help
 
 
@@ -276,6 +277,9 @@ build: build-$(OS)
 rebuild-shaders:
 rebuild-shaders:
 	$(MAKE) -R -C examples rebuild
 	$(MAKE) -R -C examples rebuild
 
 
+assets: # Build assets.
+	$(NINJA) -C scripts
+
 analyze:
 analyze:
 	cppcheck src/
 	cppcheck src/
 	cppcheck examples/
 	cppcheck examples/