all : makemovie pics .PHONY : movie CFLAGS:=-g makemovie : makemovie.c data.txt color.c gcc -g -o $@ makemovie.c color.c -lm pics : makemovie ./makemovie data.txt pngs : convert -limit memory 320MiB -limit map 640MiB movie/*.svg -define png:format=png32 obj/%03d.png pngs_crop : convert -crop 780x540+570+300 +repage -limit memory 320MiB -limit map 640MiB movie/*.svg -define png:format=png32 obj/%03d.png #-shave 500x280+0+1000 gif : convert -resize 50% -delay 2 -loop 0 obj/*.png animated.gif movie : avconv -y -r 60 -i obj/%03d.png -b 18M -qmax 2 -qmin 1 -r 60 bloch2.mp4 #-pix_fmt yuv420p clean : rm -rf makemovie pics/*