forked from KolibriOS/kolibrios
56356c8065
git-svn-id: svn://kolibrios.org@1023 a494cfbc-eb01-0410-851d-a64ba20cac60
29 lines
471 B
Batchfile
Executable File
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 ..\..
|
|
)
|