use python3 to statically host files

This commit is contained in:
Rokas Puzonas 2023-08-03 08:37:33 +03:00
parent b47d6235fd
commit f108649ef0

View File

@ -148,7 +148,7 @@ $(BUILD_DIR)/%.o: src/%.cpp Makefile
# Run the executable # Run the executable
run: run:
ifeq ($(PLATFORM), web) ifeq ($(PLATFORM), web)
python -m http.server 8080 -d $(BUILD_DIR) python3 -m http.server 8080 -d $(BUILD_DIR)
else else
$(MAIN_TARGET) $(ARGS) $(MAIN_TARGET) $(ARGS)
endif endif