Makefile 484 B

12345678910111213141516171819202122232425
  1. # Makefile 4.6 83/11/30
  2. DESTDIR=
  3. SRCS = docmd.c expand.c gram.y lookup.c main.c server.c
  4. OBJS = docmd.o expand.o gram.o lookup.o main.o server.o
  5. LINT = lint -ps
  6. CFLAGS= -O
  7. rdist: ${OBJS}
  8. ${CC} -o rdist ${OBJS}
  9. ${OBJS}: defs.h
  10. clean:
  11. rm -f *.o gram.c errs
  12. install: rdist
  13. install -s -m 4751 rdist ${DESTDIR}/usr/local/rdist
  14. lint: docmd.c expand.c gram.c lookup.c main.c server.c
  15. ${LINT} docmd.c expand.c gram.c lookup.c main.c server.c
  16. print: ${SRCS}
  17. lpr -p ${SRCS} defs.h