Mercurial > hg > Applications > mh
diff conf/Makefile @ 0:bce86c4163a3
Initial revision
author | kono |
---|---|
date | Mon, 18 Apr 2005 23:46:02 +0900 |
parents | |
children | 441a2190cfae |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/conf/Makefile Mon Apr 18 23:46:02 2005 +0900 @@ -0,0 +1,45 @@ +###################################################################### +# Instructions to Make, for compilation of MH modules +###################################################################### +# @(#)$Id$ + +SHELL = /bin/sh + +CC = cc +CFLAGS = -O +LFLAGS = -bhu +LDFLAGS = +LIBES = + + +###################################################################### +# Here it is... +###################################################################### + +all: mhconfig +lint: l-mhconfig + +sys5: ; exec make $(MFLAGS) CFLAGS="$(CFLAGS) -DSYS5" all + + +###################################################################### +# mhconfig +###################################################################### + +mhconfig: mhconfig.o + $(CC) $(LDFLAGS) -o $@ mhconfig.o $(LIBES) + + +l-mhconfig:; lint $(LFLAGS) mhconfig.c $(LLIBS) + + +###################################################################### +# Miscellaneous tasks +###################################################################### + +unconfig distribution: clean + rm -f mhconfig config.sed doc/config.sed + +clean: unclean + +unclean:; rm -f mhconfig *.o _* :* */_* */:* */*/_* */*/:*