Commit | Line | Data |
---|---|---|
3c04567b | 1 | # |
c9da2ee8 | 2 | # Makefile 4.2 83/05/23 |
3c04567b RC |
3 | # |
4 | LIBDIR= /usr/lib | |
5 | DESTDIR= | |
6 | CFLAGS= -DTRACE -O | |
7 | VGRIND= csh /usr/ucb/vgrind | |
8 | SRCS= 2648.h bit.h \ | |
9 | agoto.c aminmax.c aon.c areaclear.c beep.c bitcopy.c cleara.c \ | |
10 | clearg.c curon.c dispmsg.c draw.c drawbox.c dumpmat.c \ | |
11 | emptyrow.c error.c escseq.c gdefault.c gon.c kon.c line.c mat.c \ | |
12 | message.c minmax.c motion.c move.c movecurs.c newmat.c outchar.c \ | |
13 | outstr.c printg.c rawchar.c rbon.c rdchar.c readline.c set.c \ | |
14 | setmat.c sync.c texton.c ttyinit.c update.c video.c zermat.c \ | |
15 | zoomn.c zoomon.c zoomout.c | |
16 | OBJS= agoto.o aminmax.o aon.o areaclear.o beep.o bitcopy.o cleara.o \ | |
17 | clearg.o curon.o dispmsg.o draw.o drawbox.o dumpmat.o \ | |
18 | emptyrow.o error.o escseq.o gdefault.o gon.o kon.o line.o mat.o \ | |
19 | message.o minmax.o motion.o move.o movecurs.o newmat.o outchar.o \ | |
20 | outstr.o printg.o rawchar.o rbon.o rdchar.o readline.o set.o \ | |
21 | setmat.o sync.o texton.o ttyinit.o update.o video.o zermat.o \ | |
22 | zoomn.o zoomon.o zoomout.o | |
23 | ||
24 | lib2648.a: ${OBJS} | |
25 | ar cr lib2648.a `lorder ${OBJS} | tsort` | |
26 | ||
27 | install: lib2648.a | |
28 | install lib2648.a ${DESTDIR}${LIBDIR}/lib2648.a | |
29 | ranlib ${DESTDIR}${LIBDIR}/lib2648.a | |
30 | ||
31 | tags: /tmp | |
32 | ctags ${SRCS} | |
33 | ||
34 | clean: | |
c9da2ee8 | 35 | rm -f lib2648.a ${OBJS} |
3c04567b RC |
36 | |
37 | vgrind: | |
38 | tee index </dev/null | |
39 | ${VGRIND} -h lib2648 ${SRCS} | |
40 | ${VGRIND} -x index |