X-Git-Url: https://www.kengrimes.com/gitweb/?p=henge%2Fwebcc.git;a=blobdiff_plain;f=src%2FMakefile;h=f91e8f40a7cfeef97c23b2238e3f00e3cfb518f0;hp=2fb24c92eb4205a8e423580f1310146dbc5e938f;hb=50c7f361606cc88fabcdb5de3d6a5c44d0006bfa;hpb=ec1f96a64113718cb72364ee1df3522a1623e69e diff --git a/src/Makefile b/src/Makefile index 2fb24c9..f91e8f4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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