anchor.diff:    copy /y %PREFIX%\lib\libgdal.dll %PREFIX%\bin
   ) else (
   
  -if "%COMPILER:32=%"=="%COMPILER%" (set "WIN64OPTS=-e s@#WIN64@WIN64@")
  +if "%COMPILER:32=%"=="%COMPILER%" (
  +  "%SEDC%" -i nmake.opt -e "s@#WIN64@WIN64@"
  +)
   
  -"%SEDC%" -i nmake.opt -b %WIN64OPTS% -e s@DLLBUILD=1@DLLBUILD=0@"
  +rem "%SEDC%" -i nmake.opt -e "s@DLLBUILD=1@DLLBUILD=0@"
   
   "%SEDC%" -i nmake.opt -e "s@#SQLITE_INC=.*@SQLITE_INC=-I$(PREFIX)\\\\include -DHAVE_SPATIALITE@"
   "%SEDC%" -i nmake.opt -e "s@#SQLITE_LIB=.*@SQLITE_LIB=$(PREFIX)\\\\lib\\\\spatialite.lib $(PREFIX)\\\\lib\\\\geos_c.lib $(PREFIX)\\\\lib\\\\sqlite3.lib@"
  
positive.code: )
  
  nmake -f makefile.vc %DBG%
  nmake -f makefile.vc %DBG% devinstall
  cd ..\..
  
  )
  
negative.code: if "%1"=="clean" (git clean -f -x)
  
  SET "PREFIX1=%PREFIX:\=/%"
  set GDAL_HOME=%PREFIX%
  
  if "%COMPILER%" == "MINGW" (
    SET PKG_CONFIG_PATH=/%PREFIX1::=%/lib/pkgconfig
    SET "PATH=%MSYSDIR%;%PREFIX%\bin;%PATH%"
  rem set "LIBS=-lspatialite -lsqlite3 -lgeos_c -lfreexl -lexpat -lproj -lxml2 -liconv -lz"
  