From 8d8da4394e3d67cbe9863e71b2d8fd6bf3ff64eb Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 28 Apr 2001 20:59:18 +0000 Subject: [PATCH] Use new DOS compile make.bat from Keith git-svn-id: svn://svn.cc65.org/cc65/trunk@695 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/compile.txt | 81 +++++++++++++++++++++++++++++++------------------ 1 file changed, 51 insertions(+), 30 deletions(-) diff --git a/doc/compile.txt b/doc/compile.txt index 30a2cf7c7..236e6ac6b 100644 --- a/doc/compile.txt +++ b/doc/compile.txt @@ -68,56 +68,77 @@ using DJGPP (add your system type to CFLAGS if needed): Here's my current batch file: -cd cc65 -if exist .depend goto ahead1 -make -f make\gcc.mak -:ahead1 +cd djgpp_v2\cc65 + +if exist bin\nul goto ahead +mkdir bin +mkdir lib +:ahead + +cd src\common make -f make\gcc.mak -move *.exe ..\binutils -cd ..\cl65 -if exist .depend goto ahead2 +cd ..\ar65 make -f make\gcc.mak -:ahead2 +del ar65 +strip ar65.exe +move ar65.exe ..\..\bin + +cd ..\ca65 make -f make\gcc.mak -move *.exe ..\binutils +del ca65 +strip ca65.exe +move ca65.exe ..\..\bin -cd ..\binutils\common -if exist .depend goto ahead3 +cd ..\cc65 make -f make\gcc.mak -:ahead3 +del cc65 +strip cc65.exe +move cc65.exe ..\..\bin + +cd ..\cl65 make -f make\gcc.mak +del cl65 +strip cl65.exe +move cl65.exe ..\..\bin -cd ..\ca65 -if exist .depend goto ahead4 +cd ..\da65 make -f make\gcc.mak -:ahead4 +del da65 +strip da65.exe +move da65.exe ..\..\bin + +cd ..\grc make -f make\gcc.mak -move *.exe .. +del grc +strip grc.exe +move grc.exe ..\..\bin cd ..\ld65 -if exist .depend goto ahead5 -make -f make\gcc.mak -:ahead5 make -f make\gcc.mak -move *.exe .. +del ld65 +strip ld65.exe +move ld65.exe ..\..\bin -cd ..\ar65 -if exist .depend goto ahead6 -make -f make\gcc.mak -:ahead6 +cd ..\od65 make -f make\gcc.mak -move *.exe .. +del od65 +strip od65.exe +move od65.exe ..\..\bin + +cd ..\.. -cd ..\..\lib\common -make 'CFLAGS=-Oi -I../../include/' +cd libsrc\common +make "CC=cc65" "CFLAGS=-Osir -g -t none -I../../include" "AS=ca65" +"AFLAGS=-t none" ar65 a common.lib *.o -move common.lib .. +move common.lib ..\..\lib cd ..\runtime -make 'CFLAGS=-Oi -I../../include/' +make "CC=cc65" "CFLAGS=-Osir -g -t none -I../../include" "AS=ca65" +"AFLAGS=-t none" ar65 a runtime.lib *.o -move runtime.lib .. +move runtime.lib ..\..\lib -- -- 2.39.5