2015-06-29 14:41:18 +01:00
|
|
|
OPT=--compilation_level SIMPLE_OPTIMIZATIONS
|
|
|
|
|
|
|
|
ifeq ($(TYPE),RELEASE)
|
2015-11-13 09:36:54 +00:00
|
|
|
CLOSURE=java -jar ../../utils/closure-compiler/closure-compiler.jar
|
2015-06-29 14:41:18 +01:00
|
|
|
else
|
2015-11-13 09:36:54 +00:00
|
|
|
CLOSURE=../../utils/simple-compiler/compiler.sh
|
2015-06-29 14:41:18 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
all: Geo
|
|
|
|
|
|
|
|
Geo:
|
|
|
|
$(CLOSURE) $(OPT) \
|
|
|
|
--js Geo.js \
|
2016-01-04 16:49:05 +00:00
|
|
|
--js ConfigGenerators/ConfigGenerator.js \
|
|
|
|
--js ConfigGenerators/NV_PN.js \
|
|
|
|
--js ConfigGenerators/V_PP.js \
|
|
|
|
--js ConfigGenerators/V_PD.js \
|
|
|
|
--js ConfigGenerators/V_PP_PD.js \
|
|
|
|
--js ConfigGenerators/ConfigGeneratorEnd.js \
|
2015-06-29 14:41:18 +01:00
|
|
|
--js Mesh.js \
|
|
|
|
--js MeshContainer.js \
|
|
|
|
--js MeshStreamer.js \
|
|
|
|
--js_output_file ../lib/geo.min.js
|