#
# Copyright (c) 1996, 1999 The University of Utah and the Computer Systems
# Laboratory at the University of Utah (CSL).
#
# This file is part of Flick, the Flexible IDL Compiler Kit.
#
# Flick is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# Flick is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# Flick; see the file COPYING.  If not, write to the Free Software Foundation,
# 59 Temple Place #330, Boston, MA 02111, USA.
#

FIG2DEV = fig2dev

PSFILE = guts.ps

FIGURES = aoi2mint.eps compiler.eps idl-union.eps

# This is where you'll find a `mom' directory checked out (for WHAT-IS-THIS).
SOURCE = /home/css/frei

###############################################################################

default: $(PSFILE)

all: $(PSFILE)

print:
	lpr -Pcsspsduplex $(PSFILE)

gv:	$(PSFILE)
	gv $(PSFILE)

clean:
	rm -f $(PSFILE) $(FIGURES) *.dvi *.aux *.log *.toc
#	rm -f $(PSFILE) $(FIGURES) *.dvi *.aux *.log *.toc directories.tex

directories.tex: 
	rm -f /tmp/directories.tex
	(cd $(SOURCE); make-dir-descript mom /tmp/directories.tex)
	mv -f /tmp/directories.tex .

$(PSFILE):	guts.tex guts.aux org.tex coding.tex aoi.tex mint.tex \
		cast.tex pres-c.tex pg.tex c-pbe-write.tex \
		fe.tex flick-desc.tex \
		notes-nathan.tex directories.tex \
		$(FIGURES)
	latex guts.tex 
	dvips -f guts.dvi > $(PSFILE)

guts.aux:	$(FIGURES)
	latex guts.tex

%.eps : %.fig
	$(FIG2DEV) -L ps $< $@

## End of file.

