kolibrios/programs/develop/libraries/libs-dev/build.bat
Mihail Semenyako (mike.dld) 56356c8065 libs-dev: makefiles
git-svn-id: svn://kolibrios.org@1023 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-02-04 12:27:53 +00:00

29 lines
471 B
Batchfile
Executable File

@echo off
set LIBPREFIX=lib
set LIBEXT=obj
set TESTPREFIX=test
echo building libraries...
if exist bin rmdir /S /Q bin
mkdir bin
for %%i in (gfx img ini io) do (
echo %LIBPREFIX%%%i
cd %LIBPREFIX%%%i
fasm %LIBPREFIX%%%i.asm ..\bin\%LIBPREFIX%%%i.%LIBEXT% >nul
cd ..
)
echo building tests...
mkdir bin\.test
for %%i in (001 002) do (
echo %%i
cd .test\%%i
fasm %TESTPREFIX%%%i.asm ..\..\bin\.test\%TESTPREFIX%%%i >nul
cd ..\..
)