Ignore:
Timestamp:
Apr 25, 2025, 4:03:53 AM (6 months ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
65bd3c2
Parents:
b195498
Message:

String chapter work.

General copy-editing throughout the chapter.

Rewrite and elaborate "RAII limitations."

Move "Logical overlap" up to features' section and integrate flow with assignment-semantics predecessor.

Re-brand "Memory management" as "General implementation," and move to front of "Storage Management."

Elaborate performance experiment descriptions, giving harness sketches.

Convert first performance experiment graph (peq-cppemu) to draw directly from benchmark result file, now included in git. Similar work on remaining graphs, and adding missing data, is forthcoming.

To build thesis may now require pip3 install pandas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/Makefile

    rb195498 rf85de47  
    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.