Rev 6424 |
Go to most recent revision |
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%" -Wall
set dirs=stdio memory kolibrisys string stdlib math
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 ####################################################