diff --git a/magic/Makefile b/magic/Makefile index a8f7389d..541e5fbe 100644 --- a/magic/Makefile +++ b/magic/Makefile @@ -68,7 +68,7 @@ endif main: magic proto.magicrc ifeq (${MAKE_WASM},1) - @bash ${MAGICDIR}/toolchains/emscripten/post-build.sh magic.js magic.wasm + @bash ${MAGICSRC}/toolchains/emscripten/post-build.sh magic.js magic.wasm endif tcl-main: tclmagic${SHDLIB_EXT} proto.magicrc