3 FILES = isa.tex conds.tex flags.tex callingconv.tex cmp.tex desdis.tex
4 FILES += Makefile $(shell ls src/*.c src/*.s) example.tex
7 ISA_FILES = arith.ptex logic.ptex data.ptex misc.ptex
9 ISA_BUILD = $(ISA_FILES:.ptex=.tex)
11 PDFGEN = pdflatex --jobname=$(basename $@) $<
15 $(TARGET): $(FILES) $(ISA_BUILD)
20 %.tex: %.ptex gentex.pl
26 rm -fr *.aux *.log *.dvi *.pdf *.toc *.outc $(ISA_BUILD)