| 1 | # Makefile 4.1 83/09/07 |
| 2 | |
| 3 | DESTDIR= |
| 4 | SRCS = docmd.c expand.c gram.y lookup.c main.c server.c |
| 5 | OBJS = docmd.o expand.o gram.o lookup.o main.o server.o |
| 6 | LINT = lint -ps |
| 7 | CFLAGS= |
| 8 | |
| 9 | rdist: ${OBJS} |
| 10 | ${CC} -o rdist ${OBJS} |
| 11 | |
| 12 | ${OBJS}: defs.h |
| 13 | |
| 14 | clean: |
| 15 | rm -f *.o gram.c errs |
| 16 | |
| 17 | install: |
| 18 | install -s rdist ${DESTDIR}/usr/ucb/rdist |
| 19 | |
| 20 | lint: docmd.c expand.c gram.c lookup.c main.c server.c |
| 21 | ${LINT} docmd.c expand.c gram.c lookup.c main.c server.c |
| 22 | |
| 23 | print: ${SRCS} |
| 24 | lpr -p ${SRCS} defs.h |