added preliminary html and js for authorization
authorjordan@hack_attack <jordanlavatai@gmail.com>
Fri, 1 Jul 2016 00:19:19 +0000 (17:19 -0700)
committerjordan@hack_attack <jordanlavatai@gmail.com>
Fri, 1 Jul 2016 00:19:19 +0000 (17:19 -0700)
src/Makefile

index 2fb24c9..f91e8f4 100644 (file)
@@ -13,9 +13,9 @@ SCRUB_RULES :=
 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