progs: Makefile adjustments
[calu.git] / 1_isacmp / Makefile
index 64419cb203688c41b4b692cabf38923f3fb194be..62d14ef065283bd91a0678f049f4c8ce37aa0155 100644 (file)
@@ -1,6 +1,7 @@
 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 $@) $<
@@ -16,4 +17,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 $@ $^