Changeset 10a9479d for doc/theses/mike_brooks_MMath/Makefile
- Timestamp:
- Nov 23, 2024, 8:28:37 PM (19 months ago)
- Branches:
- master, stuck-waitfor-destruct
- Children:
- 956b389
- Parents:
- b006c51e (diff), de7b7a5 (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. - File:
-
- 1 edited
-
doc/theses/mike_brooks_MMath/Makefile (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/Makefile
rb006c51e r10a9479d 10 10 TeXSRC = ${wildcard *.tex} 11 11 PicSRC = ${notdir ${wildcard ${Pictures}/*.png}} 12 Demo SRC = ${notdir ${wildcard ${Programs}/*-demo.cfa}}12 DemoPgmSRC = ${notdir ${wildcard ${Programs}/*-demo.cfa}} 13 13 PgmSRC = ${notdir ${wildcard ${Programs}/*}} 14 14 RunPgmSRC = ${notdir ${wildcard ${Programs}/*.run.*}} … … 24 24 BASE = ${basename ${DOCUMENT}} # remove suffix 25 25 26 DemoTex = ${DemoSRC:%.cfa=${Build}/%.tex}27 26 RunPgmExe = ${addprefix ${Build}/,${basename ${basename ${RunPgmSRC}}}} 28 27 RunPgmOut = ${RunPgmExe:%=%.out} 28 DemoPgmExe = ${addprefix ${Build}/,${basename ${basename ${DemoPgmSRC}}}} 29 DemoPgmOut = ${DemoPgmExe:%=%.out} 29 30 30 31 # Commands … … 38 39 # Rules and Recipes 39 40 40 .PHONY : all fragments_ran clean # not file names 41 .PRECIOUS : ${Build}/% ${Build}/%-demo # don't delete intermediates 41 .PHONY : all clean # not file names 42 .SECONDARY: 43 #.PRECIOUS : ${Build}/% # don't delete intermediates 42 44 .ONESHELL : 43 45 44 all : fragments_ran ${DOCUMENT} 45 46 fragments_ran : $(RunPgmOut) 46 all : ${DOCUMENT} 47 47 48 48 clean : … … 51 51 # File Dependencies 52 52 53 %.pdf : ${TeXSRC} $ {DemoTex} ${PicSRC} ${PgmSRC} ${BibSRC} ${BibRep}/pl.bib ${LaTMac}/common.tex Makefile | ${Build}53 %.pdf : ${TeXSRC} $(RunPgmOut) ${DemoPgmOut} ${PicSRC} ${BibSRC} ${BibRep}/pl.bib ${LaTMac}/common.tex Makefile | ${Build} 54 54 ${LaTeX} ${BASE} 55 55 ${BibTeX} ${Build}/${BASE} … … 64 64 mkdir -p $@ 65 65 66 %-demo.tex: %-demo| ${Build}67 $ < >$@66 ${Build}/%-demo: ${Programs}/%-demo.cfa | ${Build} 67 ${CFA} $< -o $@ 68 68 69 ${Build}/% -demo: ${Programs}/%-demo.cfa | ${Build}69 ${Build}/%: ${Programs}/%-demo.cfa | ${Build} 70 70 ${CFA} $< -o $@ 71 71
Note:
See TracChangeset
for help on using the changeset viewer.