depends = objects = 1.gif mcdermott1.gif mcdermott2.gif 50.gif lb_ex.gif mm_tt.gif\ tu_oneway.gif tu_twoway.gif maze2.gif local.gif all: $(objects) lb_ex.gif:lb_ex.maze echo making $@ from $< ascii2tcsh +c +b +n < lb_ex.maze > t chmod 700 t t ppmtogif maze.ppm > t3 transgif -t white -o lb_ex.gif t3 rm -f t3 t maze.ppm maze.pgm maze.eps %.pgm:%.maze ascii2tcsh echo making $@ from $< ascii2tcsh -c +b +n < $< > t chmod 700 t t mv maze.pgm $@ rm -f t maze.ppm maze.pgm maze.eps %.jpg:%.maze ascii2tcsh echo making $@ from $< ascii2tcsh +c -b -n < $< > t chmod 700 t t cjpeg -quality 75 -outfile $@ maze.ppm rm -f t maze.ppm maze.pgm maze.eps %.eps:%.maze echo making $@ from $< ascii2tcsh < $< > t chmod 700 t t mv maze.eps $@ rm -f t %.gif:%.maze echo making $@ from $< ascii2tcsh +c -b +n < $< > t chmod 700 t t ppmtogif maze.ppm > t3 transgif -t white -o $@ t3 rm -f t3 t maze.ppm maze.pgm maze.eps ascii2tcsh: ascii2tcsh.c gcc -o ascii2tcsh -g ascii2tcsh.c solution: echo if this core dumps, run without make (buffer overflow) whirlgif -trans #ffffff -o solution1.gif -loop 1 -time 1 a???.gif