Source

picrename / Makefile

Full commit
APP = PicRename.app
ZIP = PicRename.zip

all: zip

zip: app
	zip -r9 $(ZIP) $(APP)

app:
	mkdir -p $(APP)/Contents/MacOS
	mkdir -p $(APP)/Resources
	cp picrename $(APP)/Contents/MacOS
	cp Info.plist $(APP)/Contents


clean:
	rm -fr $(APP)
	rm -f $(ZIP)

fresh: clean all

.PHONY: all app clean fresh