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 8051.s arm.tex avr.tex common.sty
+FILES += Makefile ppc.tex ppc.s spear2.tex sum.c cmp.tex
TARGET = isa_cmp.pdf
PDFGEN = pdflatex --jobname=$(basename $@) $<
.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 $@ $^