From 4f116a171c458408f3792ba45cca7c0c118bbb46 Mon Sep 17 00:00:00 2001 From: Stefano D'Angelo Date: Thu, 7 Mar 2024 09:44:31 +0100 Subject: [PATCH] web-make: demo.mk -> web-extra.mk --- templates/web-demo/tibia-index.js | 2 +- templates/web-demo/{demo.mk => web-extra.mk} | 0 templates/web-make/Makefile | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename templates/web-demo/{demo.mk => web-extra.mk} (100%) diff --git a/templates/web-demo/tibia-index.js b/templates/web-demo/tibia-index.js index 10d87d7..42b8a8d 100644 --- a/templates/web-demo/tibia-index.js +++ b/templates/web-demo/tibia-index.js @@ -23,5 +23,5 @@ var sep = path.sep; module.exports = function (data, api) { api.generateFileFromTemplateFile(`src${sep}index.html`, `src${sep}index.html`, data); - api.copyFile(`demo.mk`, `demo.mk`); + api.copyFile(`web-extra.mk`, `web-extra.mk`); }; diff --git a/templates/web-demo/demo.mk b/templates/web-demo/web-extra.mk similarity index 100% rename from templates/web-demo/demo.mk rename to templates/web-demo/web-extra.mk diff --git a/templates/web-make/Makefile b/templates/web-make/Makefile index 965f23f..eaf770c 100644 --- a/templates/web-make/Makefile +++ b/templates/web-make/Makefile @@ -76,7 +76,7 @@ ALL = build/web/${BUNDLE_NAME}.wasm build/web/${BUNDLE_NAME}_processor.js build/ default: all --include ${COMMON_DIR}/demo.mk +-include ${COMMON_DIR}/web-extra.mk all: ${ALL}