Source

aichallenge-py / Makefile

#
#  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/value.gif \

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

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