head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 98.10.24.17.37.36; author william; state Exp; branches; next 1.1; 1.1 date 98.10.24.17.35.46; author william; state Exp; branches; next ; desc @@ 1.2 log @*** empty log message *** @ text @# 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 # ######################## @ 1.1 log @Initial revision @ text @a2 4 # Dan McMahill # mcmahill@@alum.mit.edu # 7/16/1998 # d6 9 d30 3 a33 1 # (this is the GNU extension line...) d39 1 a42 2 $(epsfiles): $(tgiffiles) d44 2 a45 2 -rm *.eps -rm *~ d49 1 d51 1 d55 3 a57 1 $(TGIF) $*.obj a59 1 # End of makefile @