source: to-imperative/trunk/c++/lib/make-MinGW.bat @ 2272

Last change on this file since 2272 was 2272, checked in by orlov, 14 years ago
  • Scripts for MinGW.
File size: 460 bytes
Line 
1@setlocal enableextensions enabledelayedexpansion
2
3@if not defined RFP_CONF_DONE call "%~dp0\..\config-MinGW.bat"
4
5@if not "%1" == "-l" (
6        for /F %%d in (dir_list) do (
7                cd %%d
8                for /F %%f in (file_list) do g++ %CFLAGS% -c %%f.cc
9                cd "%~dp0"
10        )
11)
12
13if exist librf.a del /q librf.a
14
15@echo off
16
17for /F %%d in (dir_list) do (
18        set list=
19        for /F %%f in (%%d\file_list) do (
20                set list=!list! %%d\%%f.o
21        )
22        ar r librf.a !list!
23)
24
25echo on
Note: See TracBrowser for help on using the repository browser.