Updated shader makefile.

This commit is contained in:
Branimir Karadžić 2015-06-12 21:10:29 -07:00
parent 527ab0bcc1
commit 4f356fd7da

View file

@ -15,6 +15,7 @@ all:
@echo " TARGET=2 (glsl - nacl)"
@echo " TARGET=3 (glsl - android)"
@echo " TARGET=4 (glsl - linux)"
@echo " TARGET=5 (metal - OSX/iOS)"
@echo " VERBOSE=1 show build commands."
else
@ -45,6 +46,13 @@ VS_FLAGS=--platform linux -p 120
FS_FLAGS=--platform linux -p 120
CS_FLAGS=--platform linux -p 430
SHADER_PATH=shaders/glsl
else
ifeq ($(TARGET), 5)
VS_FLAGS=--platform osx -p metal
FS_FLAGS=--platform osx -p metal
CS_FLAGS=--platform osx -p metal
SHADER_PATH=shaders/metal
endif
endif
endif
endif