3a_asm: FEATURE/FIX: proper line numbers on parsing error
[calu.git] / 2_isa / Makefile
index 9a9fcc66debf43b0029f2c1edb1224bac5c415a8..a6e07936139f16869f02c71fc5a84834c05fa5fc 100644 (file)
@@ -1,10 +1,10 @@
 SHELL := bash
 
-FILES  = isa.tex conds.tex
-FILES += Makefile
+FILES  = isa.tex conds.tex flags.tex callingconv.tex cmp.tex desdis.tex
+FILES += Makefile $(shell ls src/*.c src/*.s) example.tex
 TARGET = isa.pdf
 
-ISA_FILES = arith.ptex data.ptex misc.ptex
+ISA_FILES = arith.ptex logic.ptex data.ptex misc.ptex
 
 ISA_BUILD = $(ISA_FILES:.ptex=.tex)
 
@@ -17,10 +17,10 @@ $(TARGET): $(FILES) $(ISA_BUILD)
        $(PDFGEN)
        $(PDFGEN)
 
-%.tex: %.ptex
-       ./gentex.pl $^
+%.tex: %.ptex gentex.pl
+       ./gentex.pl $<
 
-.PHONY: clean html
+.PHONY: clean
 
 clean:
        rm -fr *.aux *.log *.dvi *.pdf *.toc *.outc $(ISA_BUILD)