1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
######################################################################
# Instructions to Make, for compilation of MH modules
######################################################################
# @(#)$Id: Makefile,v 2.4 1994/04/18 22:04:09 jromine Exp $
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 _* :* */_* */:* */*/_* */*/:*
|