isa_cmp: updated 8051 asm
[calu.git] / 1_isacmp / Makefile
index 64419cb203688c41b4b692cabf38923f3fb194be..7dd81a60ab99d495fde57f39a43d57c234ad4bb7 100644 (file)
@@ -1,6 +1,6 @@
 SHELL := bash
 
-FILES = isa_cmp.tex 8051.tex arm.tex avr.tex common.sty Makefile ppc.tex spear2.tex
+FILES = isa_cmp.tex 8051.tex arm.tex avr.tex common.sty Makefile ppc.tex ppc.s spear2.tex cmp.tex
 TARGET = isa_cmp.pdf
 
 PDFGEN = pdflatex --jobname=$(basename $@) $<
@@ -16,4 +16,9 @@ $(TARGET): $(FILES)
 .PHONY: clean html
 
 clean:
-       rm -fr *.aux *.log *.dvi *.pdf *.toc *.out
+       rm -fr *.aux *.log *.dvi *.pdf *.toc *.out *.o testpcc
+
+CC := gcc
+#ppc environment only...
+testppc: ppc.o testppc.o
+       $(CC) -o $@ $^