# 4m v2.15 (Makefile) # (C) Copyright 1990 by Carrick Sean Casey # (C) Copyright 1993 by Scott Chasin and Michaeljon Miller # # 3-22-93 See file COPYING for copyright information. # # YOU SHOULD NOT HAVE TO EDIT THIS FILE # INSTRUCTIONS: Type "sh setup", and follow the directions. # "make" - compile the sources # "make install" - compile sources, install binaries and man pages # "make clean" - delete everything that "make" generates # "make depend" - # "make lint" - # Directories to do a make in. SHELL=/bin/sh DIRS = common client all: @for dir in ${DIRS}; do \ (echo Making in $${dir}; \ cd $${dir}; make -k -f ../config -f Makefile ${MFLAGS}); done @mv client/4m 4m @echo ""; echo Make completed. Type \"4m\" to begin. install: @for dir in ${DIRS} ${MANDIRS}; do \ (echo Making install in $${dir}; \ cd $${dir}; make -k -f ../config -f Makefile ${MFLAGS} install); done @echo ""; echo Make installation completed. lint: @for dir in ${DIRS}; do \ (echo Linting in $${dir}; \ cd $${dir}; make -k -f ../config -f Makefile ${MFLAGS} -${MAKEFLAGS} lint); done depend: @for dir in ${DIRS}; do \ (echo Depending in $${dir}; \ cd $${dir}; make -k -f ../config -f Makefile ${MFLAGS} -${MAKEFLAGS} depend); done clean: -rm -f core common.a @for dir in ${DIRS}; do \ (echo Cleaning in $${dir}; \ cd $${dir}; make -k -f ../config -f Makefile clean); done # DO NOT DELETE THIS LINE -- make depend depends on it.