# GNU Make Makefile for TGIF to EPS conversion # # 'gmake all' in this directory converts all tgif drawings # to encapsulated postscript. # # Dan McMahill, mcmahill@alum.mit.edu # # 09/07/1998 -- fixed a bug which caused all .obj files # to get processed everytime one was changed. Now only # the changed .obj files get processed. # # 7/16/1998 -- original. Created with wildcard help from Jeff # McMahill. # # This make file uses GNU Make extensions and hence must be # used by gmake. # ############################## # # User Settings # how to call tgif to convert tgif files to postscript TGIF=tgif -print -eps # End of User Settings # ############################## MAKE = gmake # get the names of all the tgif figures tgiffiles = $(wildcard *.obj) # calculate the names of the postscript files epsfiles = $(tgiffiles:.obj=.eps) # default target all:: $(epsfiles) clean: -rm *.eps -rm *~ distclean: clean ######################## # suffix rules for tgif # .SUFFIXES : .obj .eps .obj.eps : #tgif files $(TGIF) $*.obj # ########################