|
|
1.1 root 1: # makefile for vis
2: #
3: # A. F. Gettier
4: # S. Coffin
5: # Bell Laboratories
6: # March, 1982
7: #
8: YFLAGS= -d
9: CFLAGS= -O
10: SRC= lexio.c init.c queues.c lex.l parse.y vis.c nodes.c screen.c hashing.c macros.c
11: LSRC= lexio.c init.c queues.c vis.c nodes.c screen.c hashing.c lex.yy.c y.tab.c macros.c
12: OBJ= vis.o init.o parse.o lex.o lexio.o queues.o nodes.o screen.o hashing.o macros.o
13: all: visi
14:
15:
16: visi: ${OBJ}
17: cc ${OBJ} -o visi -lm -ly -ll -lcurses -ltermlib
18:
19: ${OBJ}: vis.h
20:
21: hashing.o lex.o: vis.h y.tab.h
22:
23: print:
24: pr -n vis.h ${SRC} makefile
25:
26: lint:
27: lex lex.l
28: yacc parse.y
29: lint ${LSRC}
30:
31: install:
32: strip visi
33: mv visi /usr/bin
34: cp helpfile /usr/lib/vis.help
35:
36: clean:
37: rm -f visi *.o
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.