|
|
1.1 root 1: NOTANGLE=notangle
2: NOWEAVE=noweave
3: AWK=nawk
4: CFLAGS=-g
5: CC=cc
6:
7: .SUFFIXES: .nw .sml .sig .awk .tex .dvi .s .print
8:
9: .nw.sml:
10: $(NOTANGLE) $*.nw > $*.sml
11:
12: .nw.sig:
13: $(NOTANGLE) -Rsignature $*.nw > $*.sig
14:
15: .nw.s:
16: $(NOTANGLE) $*.nw > $*.s
17:
18: .nw.awk:
19: $(NOTANGLE) $*.nw > $*.awk
20:
21: .nw.tex:
22: $(NOWEAVE) $*.nw > $*.tex
23:
24: .tex.dvi:
25: tex $*.tex
26:
27: .nw.dvi:
28: $(NOWEAVE) $*.nw > $*.tex
29: tex $*.tex
30:
31: .dvi.print:
32: lpr -d $*.dvi
33:
34: .s.o:
35: as -o $*.o $*.s
36:
37: all: mipscoder.sml mipscoder.sig opcodes.sml mipsdecode.sml mipsreal.sml \
38: mips.sml mipsglue.sml emitters.sml emitters.sig
39:
40: opcodes.sml: opcodes.awk opcodes.nw
41: $(NOTANGLE) '-Ropcodes table' opcodes.nw | $(AWK) -f opcodes.awk > opcodes.sml
42:
43: mipsdecode.sml: opcodes.awk opcodes.nw
44: $(NOTANGLE) '-Ropcodes table' opcodes.nw | $(AWK) -f opcodes.awk > opcodes.sml
45:
46:
47: clean:
48: rm -f *~ *.o *.log *.dvi *.tex *.makelog
49:
50:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.