# Makefile for beamplug NuMI note. There are a whole mess of plots # that must exist in ./plots/ sub dir. See the code in # ~/work/beamplug/ for how they are generated. TEX := $(wildcard *.tex) default: main.ps main.pdf EPS := baseline-plug.eps airplane.eps main.ps: main.dvi $(EPS) dvips -o main.ps main.dvi main.pdf: main.ps ps2pdf main.ps main.pdf %.dvi: %.tex $(TEX) $(EPS) latex $< latex $< latex $< %.eps: %.gif giftopnm $< | pnmtops > $@ %.eps: %.eps.gz gzip -dc $< > $@ clean:: rm -f *~ *.{log,aux,dvi,toc,lof,lot,ps} rm -f $(EPS)