--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@
 ${C2IEC}.js: lex.yy.c y.tab.c
 	${EMCC} -o $@ $^
 
-${C2IEC}.html: lex.yy.c y.tab.c
+${C2IEC}.wasm ${C2IEC}.html: lex.yy.c y.tab.c
 	${EMCC} -s WASM=1 -o $@ $^
 
 lex.yy.c: ${C2IEC}.l