|
|
1.1 root 1: # lex/Makefile 2/6/91
2: # Does not include header file dependencies.
3: #DESTDIR=/interim/bin/
4: DESTDIR=/tmp/
5: DESTDIR386=/bin386/bin/
6: SRC=/newbits/bin/lex
7:
8: OBJ=\
9: lex0.o\
10: lex1.o\
11: lex2.o\
12: lex3.o
13:
14: # Primary target.
15: lex: $(OBJ)
16: cc -o $(DESTDIR)$@ $(OBJ)
17: su root chown bin $(DESTDIR)$@
18: su root chgrp bin $(DESTDIR)$@
19: su root chmod 511 $(DESTDIR)$@
20:
21: lex386: $(OBJ)
22: cc -o $(DESTDIR386)lex $(OBJ)
23: su root chown bin $(DESTDIR386)lex
24: su root chgrp bin $(DESTDIR386)lex
25: su root chmod 511 $(DESTDIR386)lex
26:
27: # Secondary targets.
28: lex0.o: $(SRC)/lex0.c
29: lex1.o: $(SRC)/lex1.c
30: lex2.o: $(SRC)/lex2.c
31: lex3.o: $(SRC)/lex3.c
32:
33: clean:
34: rm $O
35:
36: # end of lex/Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.