s3e: fix build break
[calu.git] / 1_isacmp / Makefile
1 SHELL := bash
2
3 FILES  = isa_cmp.tex 8051.tex 8051.s arm.tex avr.tex common.sty
4 FILES += Makefile ppc.tex ppc.s spear2.tex sum.c cmp.tex
5 TARGET = isa_cmp.pdf
6
7 PDFGEN = pdflatex --jobname=$(basename $@) $<
8
9 all: $(TARGET)
10
11 $(TARGET): $(FILES)
12         $(PDFGEN)
13         $(PDFGEN)
14         $(PDFGEN)
15
16
17 .PHONY: clean html
18
19 clean:
20         rm -fr *.aux *.log *.dvi *.pdf *.toc *.out *.o testpcc
21
22 CC := gcc
23 #ppc environment only...
24 testppc: ppc.o testppc.o
25         $(CC) -o $@ $^