=================================================================== RCS file: /home/cvs/OpenXM/src/ox_ntl/crypt/Makefile,v retrieving revision 1.2 retrieving revision 1.7 diff -u -p -r1.2 -r1.7 --- OpenXM/src/ox_ntl/crypt/Makefile 2004/05/17 14:53:39 1.2 +++ OpenXM/src/ox_ntl/crypt/Makefile 2005/05/30 14:12:53 1.7 @@ -1,19 +1,15 @@ -# $OpenXM$ +# $OpenXM: OpenXM/src/ox_ntl/crypt/Makefile,v 1.6 2004/07/22 12:12:05 iwane Exp $ +SUBDIRS = radix sha1 rsa des cast5 blowfish camellia +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