home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume11 / mush5.7 / part01 / makefile.sys.v < prev    next >
Encoding:
Makefile  |  1987-09-16  |  1.1 KB  |  43 lines

  1. HDRS= mush.h config.h-dist strings.h bindings.h
  2. SRCS1= main.c init.c misc.c execute.c
  3. SRCS2= signals.c aliases.c msgs.c pick.c viewopts.c
  4. SRCS3= sort.c expr.c folders.c dates.c help.c
  5. SRCS4= loop.c bind.c
  6. SRCS5= commands.c setopts.c hdrs.c
  7. SRCS6= mail.c print.c
  8. SRCS7= curses.c curs_io.c
  9. OBJS= main.o init.o misc.o mail.o hdrs.o execute.o commands.o print.o \
  10.       signals.o aliases.o setopts.o msgs.o pick.o sort.o expr.o \
  11.       folders.o dates.o loop.o help.o viewopts.o bind.o curses.o curs_io.o
  12. DOCS= README cmd_help mush.1
  13.  
  14. CFLAGS= -DSYSV -Mle -DCURSES
  15. LDFLAGS= -X -Mle -lx -F 3000 -lcurses -ltermlib
  16.  
  17. mush: $(OBJS)
  18.     @echo loading...
  19.     @cc $(LDFLAGS) $(OBJS) -o mush
  20.  
  21. misc.o:    misc.c
  22.     cc $(CFLAGS) -LARGE -c misc.c
  23.  
  24. bind.o:    bind.c
  25.     cc $(CFLAGS) -LARGE -c bind.c
  26.  
  27. shar:
  28.     shar makefile.sys.v makefile.bsd ${DOCS} ${HDRS} > hdr.shr
  29.     shar ${SRCS1} > src1.shr
  30.     shar ${SRCS2} > src2.shr
  31.     shar ${SRCS3} > src3.shr
  32.     shar ${SRCS4} > src4.shr
  33.     shar ${SRCS5} > src5.shr
  34.     shar ${SRCS6} > src6.shr
  35.     shar ${SRCS7} > src7.shr
  36.  
  37. tar:
  38.     tar fcv MUSH makefile.sys.v ${HDRS} ${DOCS} ${SRCS1} ${SRCS2} ${SRCS3} \
  39.     ${SRCS4} ${SRCS5} ${SRCS6} ${SRCS7}
  40.  
  41. clean:
  42.     rm -f *.o core mush
  43.