Source

aichallenge-py / Makefile

Full commit
#
#  Makefile
#

SRC = MyBot.py ants.py mdp.py torus.py settings.py

dist/bundle.zip: $(SRC)
	mkdir -p dist
	rm -f dist/bundle.zip
	zip dist/bundle.zip $(SRC)

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