Files
harbour-core/harbour/make_vcce.bat
Przemyslaw Czerpak ff7e0891fa 2007-11-21 18:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_vcce.bat
  * harbour/make_vcce.mak
  * harbour/make_b32.mak
  * harbour/common.mak
  * harbour/contrib/make_all.mak
  * harbour/contrib/mtpl_ruls.mak
  * harbour/make_gcc.mak
    + added missing Marek's Copyright
    * set svn attributes:
         svn ps svn:eol-style [native|CRLF]
         svn ps svn:keywords Id

  * harbour/contrib/mtpl_defs.mak
  * harbour/contrib/mtpl_b32.mak
  * harbour/contrib/mtpl_vc.mak
    + added missing Marek's and Viktor's Copyrights
    * set svn attributes:
         svn ps svn:eol-style [native|CRLF]
         svn ps svn:keywords Id
    Viktor, Marek if I missed sth then please fix me.

  * harbour/make_gcc.sh
    * added mine Copyright note
2007-11-21 17:30:26 +00:00

73 lines
2.2 KiB
Batchfile

@echo off
rem
rem $Id$
rem
rem ---------------------------------------------------------------
rem This is a generic template file, if it doesn't fit your own needs
rem please DON'T MODIFY IT.
rem
rem Instead, make a local copy and modify that one, or make a call to
rem this batch file from your customized one. [vszakats]
rem
rem Set any of the below settings to customize your build process:
rem set HB_BUILD_MODE=C
rem set HB_BUILD_DLL=yes
rem set HB_BUILD_DEBUG=yes
rem set HB_BUILD_VERBOSE=yes
rem set HB_MAKE_PROGRAM=
rem set HB_SHOW_ERRORS=
rem set HB_MAKE_FLAGS=
rem set HB_CC_NAME=
rem ---------------------------------------------------------------
if "%HB_GT_LIB%" == "" set HB_GT_LIB=gtwvt
if "%HB_CC_NAME%" == "" set HB_CC_NAME=vcce
if "%HB_GT_DEFAULT%" == "" set HB_GT_DEFAULT=wvt
if "%HB_MAKE_PROGRAM%" == "" set HB_MAKE_PROGRAM=nmake.exe
if "%HB_SHOW_ERRORS%" == "" set HB_SHOW_ERRORS=yes
set HB_MAKEFILE=make_%HB_CC_NAME%.mak
set C_USR=%C_USR% -DHB_NO_WIN_CONSOLE
rem ---------------------------------------------------------------
rem Save the user value, force silent file overwrite with COPY
rem (not all Windows versions support the COPY /Y flag)
set HB_ORGENV_COPYCMD=%COPYCMD%
set COPYCMD=/Y
rem ---------------------------------------------------------------
if "%1" == "clean" goto CLEAN
if "%1" == "CLEAN" goto CLEAN
if "%1" == "install" goto INSTALL
if "%1" == "INSTALL" goto INSTALL
:BUILD
%HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f %HB_MAKEFILE% %1 %2 %3 > make_%HB_CC_NAME%.log
if errorlevel 1 if "%HB_SHOW_ERRORS%" == "yes" notepad make_%HB_CC_NAME%.log
goto EXIT
:CLEAN
%HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f %HB_MAKEFILE% CLEAN > make_%HB_CC_NAME%.log
if errorlevel 1 goto EXIT
if exist make_%HB_CC_NAME%.log del make_%HB_CC_NAME%.log > nul
if exist inst_%HB_CC_NAME%.log del inst_%HB_CC_NAME%.log > nul
goto EXIT
:INSTALL
%HB_MAKE_PROGRAM% %HB_MAKE_FLAGS% -f %HB_MAKEFILE% INSTALL > nul
goto EXIT
:EXIT
rem ---------------------------------------------------------------
rem Restore user value
set COPYCMD=%HB_ORGENV_COPYCMD%