Source

aichallenge-py / Makefile

Full commit
#
#  Makefile
#

dist/bundle.zip: MyBot.py ants.py
	mkdir -p dist
	rm -f dist/bundle.zip
	zip dist/bundle.zip MyBot.py ants.py

gifs: game_logs/frontier.gif game_logs/visible.gif

game_logs/frontier.gif: game_logs/*-frontier.png
	convert -delay 5 game_logs/*-frontier.png -loop 0 game_logs/frontier.gif

game_logs/visible.gif: game_logs/*-visible.png
	convert -delay 5 game_logs/*-visible.png -loop 0 game_logs/visible.gif