home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-03-12 | 1.3 KB | 44 lines |
- # makefile.bsd (c) copyright 1986 (Dan Heller)
- # sunOS-4.0 users should add -DSIGRET=void to the CFLAGS line below.
- #
- HDRS= mush.h config.h-dist strings.h bindings.h options.h
-
- SRCS= main.c init.c misc.c mail.c hdrs.c execute.c commands.c print.c dates.c \
- signals.c setopts.c msgs.c pick.c sort.c expr.c folders.c \
- loop.c help.c viewopts.c curses.c curs_io.c bind.c file.c strings.c \
- lock.c macros.c options.c addrs.c
- OBJS= main.o init.o misc.o mail.o hdrs.o execute.o commands.o print.o file.o \
- signals.o setopts.o msgs.o pick.o sort.o expr.o strings.o \
- folders.o dates.o loop.o help.o viewopts.o curses.o curs_io.o bind.o \
- lock.o macros.o options.o addrs.o
-
- HELP_FILES= README README-6.0 README-6.1 README-6.2 README-6.3 README-6.4 \
- mush.1 Mailrc Gnurc cmd_help sample.mushrc advanced.mushrc
-
- MAKES= makefile.bsd makefile.xenix makefile.sys.v
-
- CFLAGS= -O -DCURSES -DBSD
- LDFLAGS= -s
- LINTFLAGS= -bxah -Dlint -DCURSES -DBSD
- LIBES= -lcurses -ltermlib
-
- mush: $(OBJS)
- @echo loading...
- @cc $(LDFLAGS) $(OBJS) $(LIBES) -o mush
-
- tape:
- @tar cv $(MAKES) $(HDRS) $(SRCS) $(HELP_FILES)
-
- tar:
- @tar fcv MUSH $(MAKES) $(HDRS) $(SRCS) $(HELP_FILES)
-
- tarmail:
- tar fcv - $(MAKES) $(HDRS) $(SRCS) $(HELP_FILES) | \
- compress | btoa > mush.tarmail
-
- lint:
- lint $(LINTFLAGS) $(SRCS)
-
- clean:
- rm -f *.o core mush
-