# This makefile assumes that csh is running the figures FIGURES=\ firstout firstobjout firstobjout2\ bigger2.p bigger3.p bigout1 bigger6.p bigout2 bigout3 bigout4\ primeout1 primeout2\ digitsout synerrout synerr2out\ mismout clashout sinout1 sinout2\ exprout typequout primeout3\ katout copydataout kat2out katscript xxxxqqqout xxxxqqqout2\ primes primes-d\ comments1.p commentsout puman: ${FIGURES} soelim puman[45A].n | tbl | /usr/ucb/vtroff -n31 csfix: cc -O csfix.c -o csfix -lS firstout: first.p csfix pix first.p |& expand | csfix >firstout firstobjout: first.p pi first.p >& firstobjout ; px >& firstobjout firstobjout2: first.p pi -p first.p >& firstobjout2 ; px >& firstobjout2 bigger2.p: bigger.p -expand bigger.p >bigger2.p bigger3.p: bigger2.p csfix number bigger2.p | expand | csfix -d >bigger3.p bigout1: bigger.p csfix pix bigger.p |& expand | csfix >bigout1 bigger6.p: bigger5.p csfix number bigger5.p | expand | csfix -d >bigger6.p bigout2: bigger4.p pix bigger4.p |& expand >bigout2 bigout3: bigger7.p pix bigger7.p |& expand >bigout3 bigout4: bigger7.p (pix bigger7.p >/dev/null) |& expand > bigout4 primeout1: primes.p csfix pix -l -z primes.p |& expand | csfix - >primeout1 primeout2: primes.p csfix pxp -z primes.p |& expand | csfix - >primeout2 digitsout: digits.p csfix pi digits.p |& expand | csfix >digitsout synerrout: synerr.p csfix pi -l synerr.p |& expand | csfix >synerrout synerr2out: synerr2.p csfix pix -l synerr2.p |& expand | csfix >synerr2out mismout: mism.p csfix pi -l mism.p |& expand | csfix >mismout clashout: clash.p pi clash.p |& expand >clashout sinout1: sin1.p pi sin1.p |& expand >sinout1 sinout2: sin2.p pi sin2.p |& expand >sinout2 exprout: expr.p pi -l expr.p | expand >exprout typequout: typequ.p -pi typequ.p >typequout primeout3: primes2.p csfix pix primes2.p |& expand | csfix -d >primeout3 katout: kat.p csfix primes pix -l kat.p katout copydataout: copydata.p csfix pix -l copydata.p |& expand | csfix -d >copydataout kat2out: kat2.p -pi kat2.p ; px obj primes |& csfix -d >kat2out xxxxqqqout: kat2.p -pi kat2.p -px obj xxxxqqq >& xxxxqqqout xxxxqqqout2: kat2.p pi -p kat2.p -px obj xxxxqqq >& xxxxqqqout2 primes: primes.p pix -p primes.p > primes primes-d: primes csfix -d primes-d katscript: katin px obj katin >& katscript -ed - katscript < fixkatscript comments1.p: comments.p -expand comments.p >comments1.p commentsout: comments.p pxp comments.p |& expand >commentsout -ed - commentsout < fixcomments clean: -rm csfix pmon.out obj ${FIGURES}