24 lines
514 B
Makefile
24 lines
514 B
Makefile
LOVEFILE=reflect.love
|
|
WIN32_ZIPBALL=reflect-win32.zip
|
|
NIX_TARBALL=reflect-nix.tar.gz
|
|
|
|
.PHONY: all clean distclean run
|
|
|
|
all: $(LOVEFILE) $(WIN32_ZIPBALL) $(NIX_TARBALL)
|
|
|
|
$(LOVEFILE): bundle/main.lua bundle/conf.lua bundle/font.lua
|
|
cd bundle; zip -9 -r ../$@ *
|
|
|
|
$(WIN32_ZIPBALL): $(LOVEFILE) CC0 README.md
|
|
sh scripts/package-win32.sh
|
|
|
|
$(NIX_TARBALL): $(LOVEFILE) CC0 README.md
|
|
sh scripts/package-nix.sh
|
|
|
|
clean:
|
|
rm -rf $(LOVEFILE) $(WIN32_ZIPBALL) $(NIX_TARBALL) tmp/
|
|
|
|
distclean: clean
|
|
|
|
run: $(LOVEFILE)
|
|
love $<
|