Skip to content

Commit

Permalink
Revert "Remove python dependency from "make serve""
Browse files Browse the repository at this point in the history
This reverts commit dceaa5e.
  • Loading branch information
matthewbloch committed Dec 1, 2023
1 parent 37e3c7e commit 324d5da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 201 deletions.
10 changes: 3 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,9 @@ all: native wasm
clean:
rm -rf build

serve: build/wasm/arculator.html build/wasm/arculator.data.js build/native/nweb
@echo ">>>>>>> http://${SERVE_IP}:${SERVE_PORT}/build/wasm/arculator.html <<<<<<<<"
@./build/native/nweb ${SERVE_PORT} .

build/native/nweb: src/nweb.c
@mkdir -p $(@D)
${CC} -Wall -Werror -o $@ $^
serve: build/wasm/arculator.html
@echo "Now open >> http://${SERVE_IP}:${SERVE_PORT}/build/wasm/arculator.html << in your browser"
@python3 -mhttp.server -b ${SERVE_IP} ${SERVE_PORT}

######################################################################

Expand Down
194 changes: 0 additions & 194 deletions src/nweb.c

This file was deleted.

0 comments on commit 324d5da

Please sign in to comment.