examples/mingwmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 11 Jun 2019 22:03:11 +0100
changeset 3914 35aa88fa58c1
parent 3501 a07967128aae
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
@REM -------
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
@REM make using mingw gnu compiler
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
@REM type mingwmake, and wait...
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
@REM do not edit - automatically generated from ProjectDefinition
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
@REM -------
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
@SET DEFINES=
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     7
@REM Kludge got Mercurial, cannot be implemented in Borland make
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     8
@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     9
@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    10
2678
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2353
diff changeset
    11
@pushd ..\..\rules
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2353
diff changeset
    12
@call find_mingw.bat
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2353
diff changeset
    13
@popd
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2353
diff changeset
    14
make.exe -N -f bc.mak %DEFINES% %USEMINGW_ARG% %*
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2353
diff changeset
    15
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2353
diff changeset
    16
@echo "***********************************"
3501
a07967128aae Added dependency of stx:libjava/examples on stx:libjava/tools
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3370
diff changeset
    17
@echo "Buildung stx/libjava/examples/tomcat6"
2678
c865275e48a7 Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2353
diff changeset
    18
@echo "***********************************"
3370
0d56a220d44c Buildfiles: automatically generate calls to ant from makefile to build Java code (if any)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
    19
@pushd tomcat6
0d56a220d44c Buildfiles: automatically generate calls to ant from makefile to build Java code (if any)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
    20
@call mingwmake %1 %2 || exit /b "%errorlevel%"
0d56a220d44c Buildfiles: automatically generate calls to ant from makefile to build Java code (if any)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2731
diff changeset
    21
@popd
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    22
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    23