=================================================================== RCS file: /home/cvs/OpenXM/src/ox_ntl/crypt/Makefile,v retrieving revision 1.1 retrieving revision 1.6 diff -u -p -r1.1 -r1.6 --- OpenXM/src/ox_ntl/crypt/Makefile 2004/05/16 15:08:24 1.1 +++ OpenXM/src/ox_ntl/crypt/Makefile 2004/07/22 12:12:05 1.6 @@ -1,19 +1,15 @@ -# $Id: Makefile,v 1.1 2004/05/16 15:08:24 iwane Exp $ +# $OpenXM: OpenXM/src/ox_ntl/crypt/Makefile,v 1.5 2004/07/15 14:51:42 iwane Exp $ +SUBDIRS = radix sha1 rsa des cast5 blowfish +OpenXM_HOME ?= ${PWD}/../../.. -all: +echo: @echo "'make compile': compile" @echo "'make clean' : delete object file" -xxx: - (cd radix; make $(OPT)) - (cd sha1; make $(OPT)) - (cd rsa; make $(OPT)) - - compile: - make xxx OPT= OpenXM_HOME=${PWD}/../../.. + @for _sub in ${SUBDIRS}; do (echo "(cd $${_sub}; ${MAKE})"; cd $${_sub} && ${MAKE} OpenXM_HOME=${OpenXM_HOME}) || exit 1; done clean: - make xxx OPT=clean + @for _sub in ${SUBDIRS}; do (echo "(cd $${_sub}; ${MAKE} $@)"; cd $${_sub} && ${MAKE} OpenXM_HOME=${OpenXM_HOME} $@) || exit 1; done