ADTast-experimentalenumpthread-emulationqualifiedEnum
Last change
on this file since 37e9c1d was
12048a1,
checked in by Michael Brooks <mlbrooks@…>, 2 years ago
|
Simplifying the substring-aliasing demo's code-gen
|
-
Property mode set to
100644
|
File size:
879 bytes
|
Line | |
---|
1 | SHELL := /bin/bash |
---|
2 | |
---|
3 | # The targets made here are individual code-level demos. |
---|
4 | # Some produce LaTeX fragments. All are being checked for the code being valid. |
---|
5 | # None are being built from *.tex toward *.pdf. Use the top-level makefile for that. |
---|
6 | |
---|
7 | |
---|
8 | BuildBase = ../../build |
---|
9 | Build = ${BuildBase}/string |
---|
10 | |
---|
11 | CFA = ../../../../../../build/driver/cfa |
---|
12 | |
---|
13 | DEMOS = ${addprefix $(Build)/, ${addsuffix -demo.tex, \ |
---|
14 | sharing \ |
---|
15 | }} |
---|
16 | |
---|
17 | EZDEMOS = ${addsuffix -ezdemo, \ |
---|
18 | sharectx \ |
---|
19 | } |
---|
20 | |
---|
21 | |
---|
22 | all: $(DEMOS) $(EZDEMOS) |
---|
23 | |
---|
24 | %-ezdemo: %-ezdemo-runok | $(Build) |
---|
25 | @echo target $@ made |
---|
26 | |
---|
27 | %-ezdemo-runok: $(Build)/%-ezdemo | $(Build) |
---|
28 | $< |
---|
29 | |
---|
30 | $(Build)/%-demo.tex: $(Build)/%-demo | $(Build) |
---|
31 | $< > $@ |
---|
32 | |
---|
33 | $(Build)/%-demo: %-demo.cfa |
---|
34 | $(CFA) $< -o $@ |
---|
35 | |
---|
36 | $(Build)/%-ezdemo: %-demo.cfa |
---|
37 | $(CFA) $< -o $@ |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | ${Build}: |
---|
43 | mkdir -p $@ |
---|
44 | |
---|
45 | .PHONY : all %-demo %-demo %-runok |
---|
46 | .PRECIOUS : $(Build)/%-demo.tex $(Build)/%-demo.cfa $(Build)/%-demo |
---|
Note: See
TracBrowser
for help on using the repository browser.