|
|
1.1 root 1: DESTDIR=/usr/lib/
2: # Parts of scn
3: O = y.tab.o lex.o
4:
5: # Parts of libscn
6: L = yesNo.o \
7: nonNull.o \
8: numeric.o \
9: userCtlc.o \
10: getStuff.o \
11: checkEnd.o \
12: clearbak.o \
13: cleararea.o \
14: noWhite.o \
15: noVerify.o \
16: showbak.o \
17: showMsg.o \
18: query.o \
19: fatal.o \
20: closeup.o \
21: longfield.o \
22: setup.o
23:
24: CFLAGS = -O -A -I. -I..
25:
26: all : scn libscn.a
27: echo all done
28:
29: install : libscn.a scn scn.h
30: su root `srcpath installer`
31:
32: libscn.a : $L
33: rm -f $(DESTDIR)libscn.a
34: ar rcs $(DESTDIR)libscn.a $L
35:
36: getStuff.o : getStuff.c longfield.c
37:
38: longfield.c : longfield scn
39: ./scn `srcpath longfield`
40:
41: longfield.o : longfield.c
42:
43: scn : $O
44: cc -o scn $O -lmisc
45:
46: y.tab.o : y.tab.c
47:
48: y.tab.c : scn.y
49: yacc $<
50:
51: lex.o : lex.c y.tab.c scn.h
52: cc -A -I. -I.. -c -O `srcpath lex.c`
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.