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