diff options
author | Julien Dessaux | 2022-10-18 22:16:17 +0200 |
---|---|---|
committer | Julien Dessaux | 2022-10-18 22:16:17 +0200 |
commit | 08da31f2e79f87a93281afe8f13eaa700d57708a (patch) | |
tree | 6bda3772b1449397738e2abb65aed2ea7ce6a28f /GNUmakefile | |
parent | Fixed bug when a round ends while falling, and reset gamepad state between ro... (diff) | |
download | grenade-brothers-08da31f2e79f87a93281afe8f13eaa700d57708a.tar.gz grenade-brothers-08da31f2e79f87a93281afe8f13eaa700d57708a.tar.bz2 grenade-brothers-08da31f2e79f87a93281afe8f13eaa700d57708a.zip |
Added makefile
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile new file mode 100644 index 0000000..aa000bc --- /dev/null +++ b/GNUmakefile @@ -0,0 +1,20 @@ +SHELL:=bash + +.PHONY: build +build: ## make build # Builds a cartridge + zig build + +.PHONY: help +help: + @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' + +.PHONY: init +init: ## make init # initialize project dependencies + npm install wasm4 + rm package.json package-lock.json # w4 will think it is an AssemblyScript game if we leave these files + +.PHONY: serve +serve: ## make serve # run a nodejs web server + node_modules/.bin/w4 watch --no-open --no-qr + +.DEFAULT_GOAL := help |