comparison test/build.bat @ 18:ea991f95ae1f

C backend working well enough to generate Fib test
author Mike Pavone <pavone@retrodev.com>
date Wed, 27 May 2009 04:49:32 -0400
parents 31f8182f3433
children
comparison
equal deleted inserted replaced
17:d05184970c1c 18:ea991f95ae1f
1 @echo off 1 @echo off
2 cd ..\build 2 cd ..\build
3 3
4 for %%f in (..\test\*.c ..\runtime\object.c ..\runtime\context.c ..\runtime\builtin.c ..\runtime\bool.c ..\runtime\integer.c) do ( 4 for %%f in (..\test\*.c ..\runtime\object.c ..\runtime\context.c ..\runtime\builtin.c ..\runtime\bool.c ..\runtime\integer.c) do (
5 cl /c /Ox /I..\runtime %%f 5 cl /c /O2 /I..\runtime %%f
6 if errorlevel 1 goto end 6 if errorlevel 1 goto end
7 ) 7 )
8 8
9 cl /Ox test.obj object.obj context.obj builtin.obj bool.obj integer.obj 9 cl /O2 test.obj object.obj context.obj builtin.obj bool.obj integer.obj
10 cl /Ox fib.obj object.obj context.obj builtin.obj bool.obj integer.obj winmm.lib 10 cl /O2 fib.obj object.obj context.obj builtin.obj bool.obj integer.obj winmm.lib
11 11
12 :end 12 :end
13 cd ..\test 13 cd ..\test