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