CTAOS v5
This commit is contained in:
26
SysCore/shell/compile.bat
Normal file
26
SysCore/shell/compile.bat
Normal file
@ -0,0 +1,26 @@
|
||||
@echo off
|
||||
|
||||
rem NASM and DJGPP executable paths:
|
||||
set nasm_path=C:\nasm
|
||||
set djgpp_path=C:\DJGPP\bin
|
||||
set objpath=..\objects
|
||||
set incpath=../include
|
||||
|
||||
@echo Building CTA Shell...
|
||||
|
||||
del %objpath%\shell.o
|
||||
|
||||
goto build
|
||||
:error
|
||||
@echo.
|
||||
@echo There have been build errors. Building halted.
|
||||
@pause
|
||||
exit
|
||||
|
||||
:build
|
||||
@echo * Compiling ...
|
||||
%djgpp_path%\gcc.exe -Wall -O -fstrength-reduce -fomit-frame-pointer -nostdinc -fno-builtin -I%incpath% -c -o %objpath%/shell.o shell.c
|
||||
|
||||
|
||||
:check
|
||||
if not exist %objpath%\shell.o goto error
|
Reference in New Issue
Block a user