message: Minor Makefile cleanup
  Set up proper dependencies for emcc build with targets/deps
  Don't repeat the list of .cpp files that are compiled with Emscripten
  Move the objparser path out of wildcard expansion
diff: @@ -9,7 +9,7 @@ BUILD=build/$(config)
  LIBRARY_SOURCES=$(wildcard src/*.cpp)
  LIBRARY_OBJECTS=$(LIBRARY_SOURCES:%=$(BUILD)/%.o)
  -DEMO_SOURCES=$(wildcard demo/*.c demo/*.cpp tools/objparser.cpp)
  +DEMO_SOURCES=$(wildcard demo/*.c demo/*.cpp) tools/objparser.cpp
  DEMO_OBJECTS=$(DEMO_SOURCES:%=$(BUILD)/%.o)
  ENCODER_SOURCES=tools/meshencoder.cpp tools/objparser.cpp
  @@ -56,9 +56,9 @@ format:
  meshencoder: $(ENCODER_OBJECTS) $(LIBRARY)
  $(CXX) $^ $(LDFLAGS) -o $@
  -decoderjs: src/vertexcodec.cpp src/indexcodec.cpp
  - emcc src/vertexcodec.cpp src/indexcodec.cpp -Os -DNDEBUG -s EXPORTED_FUNCTIONS='["_meshopt_decodeVertexBuffer", "_meshopt_decodeIndexBuffer", "_malloc", "_free"]' -s ALLOW_MEMORY_GROWTH=1 -s MALLOC=emmalloc -s TOTAL_STACK=65536 -s MODULARIZE=1 -s SINGLE_FILE=1 -s EXPORT_NAME=MeshoptDecoder --closure 1 --post-js js/decoder-post.js -o js/decoder.js
  - sed -i '1s;^;// This file is part of meshoptimizer library and is distributed under the terms of MIT License.\n// Copyright (C) 2016-2018, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com);' js/decoder.js
  +js/decoder.js: src/vertexcodec.cpp src/indexcodec.cpp | js/decoder-post.js
  + emcc $^ -Os -DNDEBUG -s EXPORTED_FUNCTIONS='["_meshopt_decodeVertexBuffer", "_meshopt_decodeIndexBuffer", "_malloc", "_free"]' -s ALLOW_MEMORY_GROWTH=1 -s MALLOC=emmalloc -s TOTAL_STACK=65536 -s MODULARIZE=1 -s SINGLE_FILE=1 -s EXPORT_NAME=MeshoptDecoder --closure 1 --post-js js/decoder-post.js -o $@
  + sed -i '1s;^;// This file is part of meshoptimizer library and is distributed under the terms of MIT License.\n// Copyright (C) 2016-2018, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com);' $@
  $(EXECUTABLE): $(DEMO_OBJECTS) $(LIBRARY)
  $(CXX) $^ $(LDFLAGS) -o $@
  