ifdef EMSCRIPTEN_TOOLS
#Emscripten build environment
APP_RULES += move
-HTML := index.html js/the_march.config.js
+HTML := index.html js/the_march.config.js js/auth.js
CC := emcc
-EXPORTS := '_em_main'
+EXPORTS := '_em_main', 'encrypt_password'
EMOPTS := --verbose --separate-asm -s ALLOW_MEMORY_GROWTH=1 -s FORCE_FILESYSTEM=1 --pre-js html/js/pre.js
LIBS += -s USE_SDL=2 -s USE_SDL_TTF=2 -s USE_SDL_IMAGE=2 -s SDL2_IMAGE_FORMATS='["png"]'
EXEPATH := ../dist/bin/jasm/js