• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PANDOC = pandoc
2
3default: all
4
5all_markdown = \
6	       psa-conditional-inclusion-c.md \
7	       psa-driver-developer-guide.md \
8	       psa-driver-integration-guide.md \
9	       psa-driver-interface.md \
10	       # This line is intentionally left blank
11
12html: $(all_markdown:.md=.html)
13pdf: $(all_markdown:.md=.pdf)
14all: html pdf
15
16.SUFFIXES:
17.SUFFIXES: .md .html .pdf
18
19.md.html:
20	$(PANDOC) -o $@ $<
21.md.pdf:
22	$(PANDOC) -o $@ $<
23
24clean:
25	rm -f *.html *.pdf
26