py_stepik/pygame-wasm/phantomcastle/Makefile

13 lines
320 B
Makefile

assets_files = assets/bg1k.png assets/brick.png assets/coin.png assets/ghost.png assets/win.png
all: build/web.zip
assets:
mkdir assets
assets/%.png: assets $(../../assets/*.png)
cp ../../$@ assets/
build/web.zip: Makefile main.py $(assets_files)
pygbag --width 1000 --height 1000 --build --archive .