diff --git a/tools/makefile b/tools/makefile index 94f6d47..c20a98f 100644 --- a/tools/makefile +++ b/tools/makefile @@ -3,6 +3,7 @@ cmd_rm := rm -rf cmd_echo := echo # -e cmd_cp := cp -r -u -v cmd_cat := cat +cmd_ln := ln --symbolic cmd_tsc := tsc --target ES5 --allowUnreachableCode cmd_sass := sassc @@ -14,7 +15,8 @@ all: \ ${dir_build}/vtm.css \ ${dir_build}/vtm.dat.js \ ${dir_build}/vtm.js \ - music + music \ + ${dir_build}/index.html .PHONY: all clear: @@ -101,3 +103,7 @@ music: @ ${cmd_md} ${dir_build}/music @ ${cmd_cp} ${dir_source}/music/* ${dir_build}/music/ .PHONY: music + +${dir_build}/index.html: + @ ${cmd_ln} vtm.html ${dir_build}/index.html +