kolibrios-gitea/programs/develop/libraries/libs_v2/build.bat
pavelyakov befac9b242 source code library
git-svn-id: svn://kolibrios.org@5936 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-11-27 09:20:48 +00:00

10 lines
295 B
Batchfile

set FILE_NAME=%1
set DIR_LIB=C:\Programs\KlbrInWin\LIB
del "%FILE_NAME%.obj"
gcc -w --target=alpha-coff -nostdlib -I"./include" --prefix=/opt/cross-gcc -c -o "%FILE_NAME%.obj" "%FILE_NAME%.c"
kpack %FILE_NAME%.obj
@echo off
copy "%FILE_NAME%.obj" "%DIR_LIB%\%FILE_NAME%.obj">Nul
pause