Changeset 12048a1
- Timestamp:
- Apr 1, 2022, 3:13:46 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 04821de
- Parents:
- a18373a
- Location:
- doc/theses/mike_brooks_MMath/content/string
- Files:
-
- 1 added
- 3 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/content/string/Makefile
ra18373a r12048a1 9 9 Build = ${BuildBase}/string 10 10 11 # (plg2 has gem)12 # gem install --user-install liquid13 # gem install --user-install liquid-cli14 Liquid = ~/.gem/ruby/2.7.0/bin/liquid15 16 11 CFA = ../../../../../../build/driver/cfa 17 12 18 DEMOS = ${add suffix -demo, \13 DEMOS = ${addprefix $(Build)/, ${addsuffix -demo.tex, \ 19 14 sharing \ 20 } 15 }} 21 16 22 17 EZDEMOS = ${addsuffix -ezdemo, \ … … 27 22 all: $(DEMOS) $(EZDEMOS) 28 23 29 # removing the echo rule body means the rule doesn't fire30 %-demo: $(Build)/%-demo.tex %-demo-runok | $(Build)31 @echo target $@ made32 33 24 %-ezdemo: %-ezdemo-runok | $(Build) 34 25 @echo target $@ made 35 36 %-demo-runok: $(Build)/%-demo | $(Build)37 $<38 26 39 27 %-ezdemo-runok: $(Build)/%-ezdemo | $(Build) 40 28 $< 41 29 42 $(Build)/%-demo.tex: %-demo.json %-demo.tex.liquid | $(Build) 43 $(Liquid) "$$(< $<)" < $(word 2,$^) > $@ 44 # echo will run $(Liquid) 45 # echo will get JSON from $< 46 # echo will get template from $(word 2,$^) 30 $(Build)/%-demo.tex: $(Build)/%-demo | $(Build) 31 $< > $@ 47 32 48 $(Build)/%-demo: $(Build)/%-demo.cfa33 $(Build)/%-demo: %-demo.cfa 49 34 $(CFA) $< -o $@ 50 51 $(Build)/%-demo.cfa: %-demo.json %-demo.cfa.liquid | $(Build)52 $(Liquid) "$$(< $<)" < $(word 2,$^) > $@53 35 54 36 $(Build)/%-ezdemo: %-demo.cfa
Note: See TracChangeset
for help on using the changeset viewer.