|
|
1.1 root 1: # c/n2/Makefile 3/26/92
2: # Expects $(OUTPUT) to define desired output writer.
3:
4: CC2=\
5: cc2.$X\
6: cc2sym.$X\
7: dbgt2.$X\
8: emit0.$X\
9: getfun.$X\
10: optim.$X
11:
12: CC2MCH=\
13: afield.$X\
14: asm.$X\
15: emit1.$X\
16: getcod.$X\
17: optab.$X\
18: peep.$X\
19: unasm.$X
20:
21: # Primary target.
22: cc2: $(CC2) $(CC2MCH) $(OUTPUT) $(CLIB)
23: $(CC) $(LDFLAGS) -o cc2 $<
24:
25: # Monolithic compiler cc2 library.
26: cc2.a: $(CC2) $(CC2MCH) $(OUTPUT)
27: $(AR) rucks $@ $<
28:
29: # Machine independent.
30: cc2.$X: cc2.c
31: cc2sym.$X: cc2sym.c
32: dbgt2.$X: dbgt2.c
33: emit0.$X: emit0.c
34: getfun.$X: getfun.c
35: optim.$X: optim.c
36:
37: # Machine dependent.
38: afield.$X: afield.c
39: asm.$X: asm.c
40: emit1.$X: emit1.c
41: getcod.$X: getcod.c
42: optab.$X: optab.c
43: peep.$X: peep.c
44: unasm.$X: unasm.c
45:
46: # Output writers.
47: # Machine dependent to a great extent, though they shouldn't be.
48: # out286 - writes Intel 80286 object format
49: # outcoh - writes COHERENT l.out.h format
50: # outcoff - writes COFF format
51: # outcsd - writes Intel 8087 object format with csd DEBUG segment
52: # outrel - writes COHERENT reloc.h format
53: # outomf - writes Intel 8086 object format
54: out286.$X: out286.c
55: outcoh.$X: outcoh.c
56: outcsd.$X: outcsd.c
57: outomf.$X: outomf.c
58: outrel.$X: outrel.c
59:
60: # c/n2/Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.