mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-16 20:02:35 +03:00
29 lines
471 B
Batchfile
29 lines
471 B
Batchfile
|
@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 ..\..
|
||
|
)
|