peachy/Makefile

22 lines
497 B
Makefile
Raw Normal View History

2024-06-10 04:50:33 +00:00
.PHONY: build/peachy.com
build/peachy.com: build/redbean-2.2.com
cp build/redbean-2.2.com build/peachy-noassets.com
cd assets ; zip -r ../build/peachy-noassets.com . ; cd ..
mv build/peachy-noassets.com build/peachy.com
2024-06-10 00:01:15 +00:00
.PHONY: run
2024-06-10 04:50:33 +00:00
run: build/peachy.com
build/peachy.com
2024-06-10 00:01:15 +00:00
2024-06-10 04:50:33 +00:00
build/redbean-2.2.com:
wget --directory-prefix build https://redbean.dev/redbean-2.2.com
chmod a+x build/redbean-2.2.com
2024-06-10 04:28:01 +00:00
2024-06-10 04:50:33 +00:00
.PHONY: clean
clean:
rm build/peachy*
2024-06-10 04:28:01 +00:00
2024-06-10 04:50:33 +00:00
.PHONY: clean-redbean
clean-redbean:
rm build/redbean*