home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume14 / mush6.0 / part01 / makefile.bsd < prev    next >
Encoding:
Makefile  |  1988-04-12  |  1.1 KB  |  37 lines

  1. # makefile.bsd    (c) copyright 1986    (Dan Heller)
  2. #
  3. HDRS= mush.h config.h-dist strings.h bindings.h
  4. SRCS= main.c init.c misc.c mail.c hdrs.c execute.c commands.c print.c dates.c \
  5.       signals.c aliases.c setopts.c msgs.c pick.c sort.c expr.c folders.c \
  6.       loop.c help.c viewopts.c curses.c curs_io.c bind.c file.c strings.c
  7. OBJS= main.o init.o misc.o mail.o hdrs.o execute.o commands.o print.o file.o \
  8.       signals.o aliases.o setopts.o msgs.o pick.o sort.o expr.o strings.o \
  9.       folders.o dates.o loop.o help.o viewopts.o curses.o curs_io.o bind.o
  10. HELP_FILES= README-6.0 README cmd_help mush.1
  11. MAKES= makefile.bsd makefile.x286 makefile.x386 makefile.sys.v
  12.  
  13. CFLAGS= -O -DCURSES -DBSD
  14. LDFLAGS= -s
  15. LINTFLAGS= -bxah -Dlint -DCURSES -DBSD
  16. LIBES= -lcurses -ltermlib
  17.  
  18. mush: $(OBJS)
  19.     @echo loading...
  20.     @cc $(LDFLAGS) $(OBJS) $(LIBES) -o mush
  21.  
  22. tape:
  23.     @tar fcv /dev/rst0 $(MAKES) $(HDRS) $(SRCS) $(HELP_FILES)
  24.  
  25. tar:
  26.     @tar fcv MUSH $(MAKES) $(HDRS) $(SRCS) $(HELP_FILES)
  27.  
  28. tarmail:
  29.     tar fcv - $(MAKES) $(HDRS) $(SRCS) $(HELP_FILES) | \
  30.     compress | btoa > mush.tarmail
  31.  
  32. lint:
  33.     lint $(LINTFLAGS) $(SRCS)
  34.  
  35. clean:
  36.     rm -f *.o core mush
  37.