Skip to content

Commit

Permalink
Makefile: Add rule for Brogue.app
Browse files Browse the repository at this point in the history
  • Loading branch information
tmewett committed Mar 21, 2020
1 parent 4d478cc commit 3244d98
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ linux.tar.gz: $(common-files) brogue
icon_%.png: bin/assets/icon.png
convert $< -resize $* $@

# Dependencies after | are not considered when deciding to update target
macos/Brogue.icns: | icon_32.png icon_128.png icon_256.png icon_512.png
macos/Brogue.icns: icon_32.png icon_128.png icon_256.png icon_512.png
png2icns $@ $^
$(RM) $^

Brogue.app: bin/brogue
mkdir -p $@/Contents/{MacOS,Resources}
cp macos/Info.plist $@
cp bin/brogue $@/Contents/MacOS
cp macos/Brogue.icns bin/assets/* $@/Contents/Resources

0 comments on commit 3244d98

Please sign in to comment.