Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / conf / Makefile
1 ######################################################################
2 #       Instructions to Make, for compilation of MH modules
3 ######################################################################
4 # @(#)$Id: Makefile,v 2.4 1994/04/18 22:04:09 jromine Exp $
5
6 SHELL   =       /bin/sh
7
8 CC      =       cc
9 CFLAGS  =       -O
10 LFLAGS  =       -bhu
11 LDFLAGS =
12 LIBES   =
13
14
15 ######################################################################
16 #       Here it is...
17 ######################################################################
18
19 all:            mhconfig
20 lint:           l-mhconfig
21
22 sys5:   ;       exec make $(MFLAGS) CFLAGS="$(CFLAGS) -DSYS5" all
23
24
25 ######################################################################
26 # mhconfig
27 ######################################################################
28
29 mhconfig:       mhconfig.o
30                 $(CC) $(LDFLAGS) -o $@ mhconfig.o $(LIBES)
31
32
33 l-mhconfig:;    lint $(LFLAGS) mhconfig.c $(LLIBS)
34
35
36 ######################################################################
37 #       Miscellaneous tasks
38 ######################################################################
39
40 unconfig distribution:  clean
41                 rm -f mhconfig config.sed doc/config.sed
42
43 clean:          unclean
44
45 unclean:;       rm -f mhconfig *.o _* :* */_* */:* */*/_* */*/:*