view test/build.bat @ 121:1af91ceaaf49

Fixed memory leak when an output is only attached to a single null input
author Mike Pavone <pavone@retrodev.com>
date Thu, 28 Oct 2010 21:04:12 -0400
parents ea991f95ae1f
children
line wrap: on
line source

@echo off
cd ..\build

for %%f in (..\test\*.c ..\runtime\object.c ..\runtime\context.c ..\runtime\builtin.c ..\runtime\bool.c ..\runtime\integer.c) do (
	cl /c /O2 /I..\runtime %%f
	if errorlevel 1 goto end
)

cl /O2 test.obj object.obj context.obj builtin.obj bool.obj integer.obj
cl /O2 fib.obj object.obj context.obj builtin.obj bool.obj integer.obj winmm.lib

:end
cd ..\test