Changeset 489d3ba for doc/theses/mike_brooks_MMath/Makefile
- Timestamp:
- Nov 15, 2024, 5:48:11 PM (5 weeks ago)
- Branches:
- master
- Children:
- e255902b
- Parents:
- 2325b57
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/Makefile
r2325b57 r489d3ba 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.