Ignore:
Timestamp:
Apr 25, 2025, 7:40:22 AM (11 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master, stuck-waitfor-destruct
Children:
ae0c1c3
Parents:
6b33e89 (diff), f85de47 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/Makefile

    r6b33e89 r65bd3c2  
    22
    33Build = build
     4
     5Benchmarks = benchmarks
    46Pictures = pictures
     7Plots = plots
    58Programs = programs
    69
     
    1114PicSRC = ${notdir ${wildcard ${Pictures}/*.png}} ${notdir ${wildcard ${Pictures}/*.fig}}
    1215PicSRC := ${PicSRC:.fig=.pdf}           # substitute ".fig" with ".pdf"
    13 GraphSRC = ${notdir ${wildcard ${Pictures}/*.dat}}
    14 GraphSRC := ${GraphSRC:.dat=.pdf}               # substitute ".dat" with ".pdf"
     16GraphSRC_OLD = ${notdir ${wildcard ${Pictures}/*.dat}}
     17GraphSRC_OLD := ${GraphSRC_OLD:.dat=.pdf}               # substitute ".dat" with ".pdf"
     18PlotINPUTS = ${wildcard ${Plots}/*.gp} ${wildcard ${Plots}/*.py}
     19PlotINPUTS := ${addsuffix .INPUTS,${PlotINPUTS}}
     20PlotSRC = ${notdir ${wildcard ${Plots}/*.gp}}
     21PlotSRC := ${addprefix ${Build}/plot-,${PlotSRC:.gp=.pdf}}              # substitute ".gp" with ".pdf"
    1522DemoPgmSRC = ${notdir ${wildcard ${Programs}/*-demo.cfa}}
    1623PgmSRC = ${notdir ${wildcard ${Programs}/*}}
     
    4249# Rules and Recipes
    4350
    44 .PHONY : all clean                              # not file names
     51.PHONY : all clean                      # not file names
    4552.SECONDARY:
    4653#.PRECIOUS : ${Build}/%                         # don't delete intermediates
     
    5461# File Dependencies
    5562
    56 ${DOCUMENT}: ${TeXSRC} $(RunPgmOut) ${DemoPgmOut} ${GraphSRC} ${PicSRC} ${BibSRC} ${BibRep}/pl.bib ${LaTMac}/common.tex Makefile | ${Build}
     63${DOCUMENT}: ${TeXSRC} $(RunPgmOut) ${DemoPgmOut} ${GraphSRC_OLD} ${PlotSRC} ${PicSRC} ${BibSRC} ${BibRep}/pl.bib ${LaTMac}/common.tex Makefile | ${Build}
    5764        echo ${PicSRC}
    58         echo ${GraphSRC}
     65        echo ${GraphSRC_OLD}
    5966        ${LaTeX} ${BASE}
    6067        ${BibTeX} ${Build}/${BASE}
     
    8794        $< > $@
    8895
    89 string-graph-peq-cppemu.pdf: string-graph-peq-cppemu.dat plot-peq-cppemu.gp | ${Build}
    90         gnuplot plot-peq-cppemu.gp
    91 
    9296string-graph-peq-sharing.pdf: string-graph-peq-sharing.dat plot-peq-sharing.gp | ${Build}
    9397        gnuplot plot-peq-sharing.gp
     
    105109        fig2dev -L pdf $< > ${Build}/$@
    106110
     111-include $(Plots)/string-peq-cppemu.d
     112
     113${Build}/plot-%.dat: ${Plots}/%.py ${Plots}/%.py.INPUTS | ${Build}
     114        echo ${PlotINPUTS}     
     115        python3 $< > $@
     116
     117${Build}/plot-%.pdf: ${Plots}/%.gp ${Plots}/%.gp.INPUTS | ${Build}
     118        gnuplot $<
     119
    107120#-include ${Build}/*.d
Note: See TracChangeset for help on using the changeset viewer.