From 1d95de98f6f865f077430dbbc0fe14fa420a3edb Mon Sep 17 00:00:00 2001 From: Gabriel Pariat Date: Sat, 18 Feb 2023 20:48:19 -0500 Subject: [PATCH] tweak to run in makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 009cf19..9b06ef2 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ USE_WAYLAND_DISPLAY ?= FALSE # PLATFORM_WEB: Default properties BUILD_WEB_ASYNCIFY ?= FALSE -BUILD_WEB_SHELL ?= minshell.html +BUILD_WEB_SHELL ?= src/minshell.html BUILD_WEB_HEAP_SIZE ?= 134217728 BUILD_WEB_RESOURCES ?= TRUE BUILD_WEB_RESOURCES_PATH ?= resources @@ -442,10 +442,10 @@ ifeq ($(PLATFORM),PLATFORM_DRM) endif @echo Cleaning done -run: $(PROJECT_NAME)$(EXT) +run: $(BUILD_DIR)/$(PROJECT_NAME)$(EXT) ifeq ($(PLATFORM),PLATFORM_DESKTOP) ./$(PROJECT_NAME) endif ifeq ($(PLATFORM),PLATFORM_WEB) - npx live-server --open=$(PROJECT_NAME)$(EXT) --ignore=*.c,*.h,Makefile + npx live-server --open=$(BUILD_DIR)/$(PROJECT_NAME)$(EXT) --ignore=*.c,*.h,Makefile endif