Rev 245 |
Blame |
Last modification |
View Log
| Download
| RSS feed
echo ####################################################
echo # usage: build [clean] #
echo ####################################################
rem #### CONFIG SECTION ####
set CFLAGS=-c -nostdinc -DGNUC -I"
%cd%\
%INCLUDE%"
set dirs=stdio memory kolibrisys string stdlib
rem #### END OF CONFIG SECTION ####
echo Probably at runing has been created error
:Compile_C
%CC% %CFLAGS% %1 -o "%~dpn1.o"
set objs=
%objs% "
%~dpn1.o"
:Compile_Asm
%ASM% %1 "%~dpn1.o"
set objs=
%objs% "
%~dpn1.o"
:Target_clean
:Target_all
)
%AR% -ru %LIBNAME% %objs%
:Error_Failed
echo error: execution failed
:Exit_OK
echo ####################################################
echo # All operations has been done... #
echo #
For cleaning run this script with param " clean" #
echo ####################################################