Commit 388f25dd authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Refactor away old-fashioned make syntax

parent 53916e29
......@@ -148,22 +148,20 @@ clean:
# Suffix rules
#########################################
.SUFFIXES: .hi .hs .verb .tex .dvi
.verb.tex:
%.tex: %.verb
$(EXPAND) < $< | $(VERBATIM) | sh ../tools/subsection >$@
# The 'subsection' part changes section -> chapter for the book style
.hs.verb:
%.verb: %.hs
$(EXPAND) < $< | $(SPLITPGM) >$@
%.tex: %.hs
%.hs: %.tex
$(EXPAND) < $< | $(SPLITPGM) | $(VERBATIM) >$@
.hi.tex:
%.tex: %.hi
$(EXPAND) < $< | $(SPLITPGM) | $(VERBATIM) >$@
.tex.dvi:
%.dvi: %.tex
$(LATEX) $<
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment