home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume11 / mush5.7 / part01 / makefile.bsd < prev    next >
Encoding:
Makefile  |  1987-09-16  |  863 b   |  29 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 \
  5.       signals.c aliases.c setopts.c msgs.c pick.c sort.c expr.c \
  6.       folders.c dates.c loop.c help.c viewopts.c curses.c curs_io.c bind.c
  7. OBJS= main.o init.o misc.o mail.o hdrs.o execute.o commands.o print.o \
  8.       signals.o aliases.o setopts.o msgs.o pick.o sort.o expr.o \
  9.       folders.o dates.o loop.o help.o viewopts.o curses.o curs_io.o bind.o
  10. HELP_FILES= README cmd_help mush.1
  11.  
  12. CFLAGS= -O -DCURSES -DBSD
  13. LDFLAGS= -s
  14. LINTFLAGS= -bxah -Dlint -DCURSES -DBSD
  15. LIBES= -lcurses -ltermlib
  16.  
  17. mush: $(OBJS)
  18.     @echo loading...
  19.     @cc $(LDFLAGS) $(OBJS) $(LIBES) -o mush
  20.  
  21. tar:
  22.     @tar fcv MUSH $(HDRS) $(SRCS) makefile.bsd $(HELP_FILES)
  23.  
  24. lint:
  25.     lint $(LINTFLAGS) $(SRCS)
  26.  
  27. clean:
  28.     rm -f *.o core mush
  29.