|
|
1.1 root 1: CFLAGS = -O
2: LDFLAGS=
3:
4: itran: itran.o parse.o lex.o code.o sym.o mem.o \
5: err.o char.o keyword.o optab.o toktab.o lnklist.o
6: cc $(LDFLAGS) -o itran *.o
7:
8: itran.o: itran.h token.h tree.h sym.h ../h/config.h
9: parse.o: itran.h tree.h sym.h ../h/config.h
10: lex.o: itran.h token.h lex.h char.h tree.h ../h/config.h
11: code.o: itran.h token.h tree.h code.h sym.h ../h/config.h
12: sym.o: itran.h token.h sym.h char.h ../h/config.h lfile.h
13: mem.o: itran.h sym.h ../h/config.h
14: err.o: itran.h token.h tree.h lex.h synerr.h ../h/config.h
15: char.o: char.h
16: keyword.o: ../h/keyword.h sym.h
17: optab.o: lex.h
18: toktab.o: itran.h lex.h token.h ../h/config.h
19: lnklist.o: itran.h lfile.h ../h/config.h
20:
21: #
22: # The following sections are commented out because they do not need
23: # to be performed unless changes are made to icon.g, keywords, tokens,
24: # or optab. Such changes involve modifications to the syntax of Icon
25: # and are not part of the installation process. However, if the
26: # distribution files are unloaded in a fashion such that their dates
27: # are not set properly, the following sections would be attempted.
28: #
29: # Note that if any changes are made to the four files mentioned above,
30: # the following comments should be removed.
31: #
32: #parse.c token.h: icon.g
33: # yacc -v -d icon.g # expect 169 shift/reduce conflicts
34: # mv y.tab.c parse.c
35: # ed parse.c <pscript
36: # mv y.tab.h token.h
37: #
38: #keyword.h keyword.c: keywords
39: # mkkeytab
40: #
41: #toktab.c optab.c: tokens optab
42: # mktoktab
43: #
44: #mkkeytab: mkkeytab.icn
45: # icont -o mkkeytab mkkeytab.icn
46: #
47: #mktoktab: mktoktab.icn
48: # icont -o mktoktab mktoktab.icn
49:
50: Listall:
51: @pr *.h *.c icon.g
52: @date >List
53:
54: List: char.h code.h synerr.h lex.h sym.h \
55: token.h tree.h itran.h lfile.h \
56: char.c code.c err.c keyword.c lex.c lnklist.c mem.c \
57: optab.c parse.c sym.c toktab.c itran.c icon.g
58: @pr $?
59: @date >List
60: Clean:
61: rm -f *.o itran
62:
63: Dist-clean:
64: rm -f .BK* .CK* .emacs*
65: rm -f `gcomp Makefile *.c *.h mkkeytab.icn mktoktab.icn \
66: tokens optab keywords icon.g pscript *.gen Files`
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.