|
|
@ -52,7 +52,7 @@ USE_WAYLAND_DISPLAY ?= FALSE |
|
|
|
|
|
|
|
|
|
|
|
# PLATFORM_WEB: Default properties
|
|
|
|
# PLATFORM_WEB: Default properties
|
|
|
|
BUILD_WEB_ASYNCIFY ?= FALSE
|
|
|
|
BUILD_WEB_ASYNCIFY ?= FALSE
|
|
|
|
BUILD_WEB_SHELL ?= minshell.html
|
|
|
|
BUILD_WEB_SHELL ?= src/minshell.html
|
|
|
|
BUILD_WEB_HEAP_SIZE ?= 134217728
|
|
|
|
BUILD_WEB_HEAP_SIZE ?= 134217728
|
|
|
|
BUILD_WEB_RESOURCES ?= TRUE
|
|
|
|
BUILD_WEB_RESOURCES ?= TRUE
|
|
|
|
BUILD_WEB_RESOURCES_PATH ?= resources
|
|
|
|
BUILD_WEB_RESOURCES_PATH ?= resources
|
|
|
@ -442,10 +442,10 @@ ifeq ($(PLATFORM),PLATFORM_DRM) |
|
|
|
endif |
|
|
|
endif |
|
|
|
@echo Cleaning done
|
|
|
|
@echo Cleaning done
|
|
|
|
|
|
|
|
|
|
|
|
run: $(PROJECT_NAME)$(EXT) |
|
|
|
run: $(BUILD_DIR)/$(PROJECT_NAME)$(EXT) |
|
|
|
ifeq ($(PLATFORM),PLATFORM_DESKTOP) |
|
|
|
ifeq ($(PLATFORM),PLATFORM_DESKTOP) |
|
|
|
./$(PROJECT_NAME)
|
|
|
|
./$(PROJECT_NAME)
|
|
|
|
endif |
|
|
|
endif |
|
|
|
ifeq ($(PLATFORM),PLATFORM_WEB) |
|
|
|
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 |
|
|
|
endif |
|
|
|