mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-20 05:42:34 +03:00
befac9b242
git-svn-id: svn://kolibrios.org@5936 a494cfbc-eb01-0410-851d-a64ba20cac60
10 lines
295 B
Batchfile
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 |