home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / fish / telecom / uucp_442 / src / dmail / dmakefile < prev    next >
Makefile  |  1990-05-17  |  1KB  |  50 lines

  1.  
  2. #
  3. #   $Header: Beta:src/uucp/src/dmail/RCS/DMakefile,v 1.1 90/02/02 12:03:27 dillon Exp Locker: dillon $
  4. #
  5. #   Written by Matthew Dillon
  6. #
  7. #   (C)Copyright 1986-89 by Matthew Dillon
  8. #
  9. #   This code is completely original.  I declare this code to be public
  10. #   domain.  You may redistribute this code as long as any those
  11. #    redistributions contain this and all other files in their entirety.
  12. #
  13. #    Ports: Anybody may port this code to any machine or OS they wish, of
  14. #    course.  If you do make a port, I would be grateful if you mailed
  15. #    a letter with: (A) OS you ported it too, and (B) version ported,
  16. #    so I may inform people who have mailed me wondering about ports
  17. #    who to contact.
  18. #
  19. #   Send bug reports and other gripes to:
  20. #
  21. #   dillon@ucbvax.berkeley.edu           ARPA NET
  22. #   ..!ihnp4!ucbvax!dillon           USENET
  23. #
  24. #   INSTRUCTIONS FOR COMPILING:
  25. #
  26. #   (1) Set DESTDIR & HELP_DIR to some global directory accessable to
  27. #    everybody (or whatever).  Also set HELP_CHMOD and PROG_CHMOD
  28. #    to the right thing if you don't like the defaults.
  29.  
  30. OD= dtmp:uucp/dmail/
  31. EXE= uucp:c/dmail
  32. CFLAGS= -I uucp:src/include/
  33.  
  34. LIBS=    dtmp:uucp/lib/uucp.lib
  35.  
  36. SRCS=    globals.c main.c do_lists.c sub.c execom.c commands.c \
  37.     range.c load_mail.c sendmail.c set.c help.c cond.c compat.c
  38.  
  39. OBJS=    $(SRCS:"*.c":"$(OD)*.o")
  40. LOBJS=    $(SRCS:"*.c":"*.o")
  41.  
  42. $(EXE): $(OBJS)
  43.     cd $(OD)
  44.     dcc $(LOBJS) $(LIBS) -o %(left) -s -r
  45.     cd
  46.  
  47. $(OBJS) : $(SRCS)
  48.     dcc $(CFLAGS) %(right) -o %(left) -c -r
  49.  
  50.