3d-interface/server/geo/Makefile

18 lines
356 B
Makefile

OPT=--compilation_level SIMPLE_OPTIMIZATIONS
ifeq ($(TYPE),RELEASE)
CLOSURE=java -jar ../../utils/closure-compiler/closure-compiler.jar
else
CLOSURE=../../utils/simple-compiler/compiler.sh
endif
all: Geo
Geo:
$(CLOSURE) $(OPT) \
--js Geo.js \
--js Mesh.js \
--js MeshContainer.js \
--js MeshStreamer.js \
--js_output_file ../lib/geo.min.js