Fix build-web

This commit is contained in:
Cassowary 2025-02-23 11:18:29 -08:00
parent 8fd501b6ad
commit 5d10f82f53
1 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ build-windows: build/stamp build/hello.c out/windows/res
cp windows-libs/* out/windows/
echo "Now build the exe in windows using the script."
build-web: build out/hello.js
build-web: out/res out/hello.js
build-web-dist: out/hello-demo.zip
build/stamp: src/Hello.hx
@ -66,12 +66,12 @@ out/linux/hello-linux64-native: out/linux/res build/hello.o
cp linux-manifest/* out/linux
cp linux-libs/* out/linux
out/index.html: index.html
cp index.html out/
out/hello.js: out/res out/index.html
$(HAXE) -cp src $(JSLIBS) -js $@ -main Hello
out/index.html: web-manifest/index.html
cp web-manifest/index.html out/
package: out/linux/hello-linux64-native out/windows/hello.exe
cp -R windows-manifest/* out/windows
cp -R linux-manifest/* out/linux