comparison auto/lib/zlib/make @ 2832:d27ac70df098

use $(CURDIR) instead of "..\..\.." because the later does not allow to use options as --with-zlib=../zlib-1.2.3. It seems there is no common way to learn the current directory in Win32 make's: although nmake has MAKEDIR variable, nevertheless Borland make's MAKEDIR is the directory where make is installed, and OpenWatcom wmake has no MAKEDIR at all.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 11 May 2009 18:02:06 +0000
parents b1648294f693
children ecdc41bf2047
comparison
equal deleted inserted replaced
2831:a294cff147ec 2832:d27ac70df098
34 cat << END >> $NGX_MAKEFILE 34 cat << END >> $NGX_MAKEFILE
35 35
36 `echo "$ZLIB/zlib.lib: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"` 36 `echo "$ZLIB/zlib.lib: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"`
37 cd `echo $ZLIB | sed -e "s/\//$ngx_regex_dirsep/g"` 37 cd `echo $ZLIB | sed -e "s/\//$ngx_regex_dirsep/g"`
38 \$(MAKE) -f $ngx_makefile $ngx_opt 38 \$(MAKE) -f $ngx_makefile $ngx_opt
39 cd ..\\..\\.. 39 cd \$(CURDIR)
40 40
41 END 41 END
42 42
43 done=YES 43 done=YES
44 ;; 44 ;;