]> git.pond.sub.org Git - empserver/blob - scripts/mapper/Makefile
Import of Empire 4.2.12
[empserver] / scripts / mapper / Makefile
1 #
2 #       Riverworld Blitz mpeg makefile.  Assumes the netpbm programs are
3 #       somewhere in the path.  map.m2v is an mpeg2 file-- unfortunately
4 #       it's 15x the size of the mpeg1 (.mpg) file.  If you modify map.par
5 #       to generate a smaller file, or find another mpeg2 encoder, let
6 #       me know.
7 #               -Drake (dld@chem.psu.edu)
8
9
10 .SUFFIXES: .pgm .gif .ppm .pov .jpg
11
12 all: map.mpg final.gif
13
14 map.param: param.pl default.param frames
15         param.pl default.param >map.param
16 color.ppm: randppm.awk
17         randppm.awk >$@
18 map.mpg: map.param 
19         mpeg_encode map.param
20 final.gif: frames color.ppm
21         makeframe map-`cat frames`.gif | ppmtogif -interlace >final.gif
22
23 clean:
24         rm -f map-*.gif overmap-*.gif frames census report version over.pbm power wire final.gif over.mask color.ppm map.mpg