@echo off
REM Generated by niminst
SET CC=gcc
SET LINKER=gcc
SET COMP_FLAGS=-w -O3 -fno-strict-aliasing
SET LINK_FLAGS=
SET BIN_DIR=bin

if EXIST ..\koch.nim SET BIN_DIR=..\bin

if NOT EXIST %BIN_DIR%\nul mkdir %BIN_DIR%

REM call the compiler:

ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\nim.c -o c_code\1_1\nim.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\nim.c -o c_code\1_1\nim.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_system.c -o c_code\1_1\stdlib_system.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_system.c -o c_code\1_1\stdlib_system.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\testability.c -o c_code\1_1\testability.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\testability.c -o c_code\1_1\testability.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\commands.c -o c_code\1_1\commands.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\commands.c -o c_code\1_1\commands.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_os.c -o c_code\1_1\stdlib_os.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_os.c -o c_code\1_1\stdlib_os.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_strutils.c -o c_code\1_1\stdlib_strutils.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_strutils.c -o c_code\1_1\stdlib_strutils.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_parseutils.c -o c_code\1_1\stdlib_parseutils.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_parseutils.c -o c_code\1_1\stdlib_parseutils.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_times.c -o c_code\1_1\stdlib_times.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_times.c -o c_code\1_1\stdlib_times.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_winlean.c -o c_code\1_1\stdlib_winlean.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_winlean.c -o c_code\1_1\stdlib_winlean.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\msgs.c -o c_code\1_1\msgs.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\msgs.c -o c_code\1_1\msgs.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\options.c -o c_code\1_1\options.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\options.c -o c_code\1_1\options.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\lists.c -o c_code\1_1\lists.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\lists.c -o c_code\1_1\lists.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_strtabs.c -o c_code\1_1\stdlib_strtabs.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_strtabs.c -o c_code\1_1\stdlib_strtabs.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_hashes.c -o c_code\1_1\stdlib_hashes.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_hashes.c -o c_code\1_1\stdlib_hashes.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_osproc.c -o c_code\1_1\stdlib_osproc.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_osproc.c -o c_code\1_1\stdlib_osproc.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_streams.c -o c_code\1_1\stdlib_streams.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_streams.c -o c_code\1_1\stdlib_streams.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_cpuinfo.c -o c_code\1_1\stdlib_cpuinfo.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_cpuinfo.c -o c_code\1_1\stdlib_cpuinfo.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_sets.c -o c_code\1_1\stdlib_sets.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_sets.c -o c_code\1_1\stdlib_sets.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_math.c -o c_code\1_1\stdlib_math.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_math.c -o c_code\1_1\stdlib_math.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_tables.c -o c_code\1_1\stdlib_tables.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_tables.c -o c_code\1_1\stdlib_tables.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\ropes.c -o c_code\1_1\ropes.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\ropes.c -o c_code\1_1\ropes.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\platform.c -o c_code\1_1\platform.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\platform.c -o c_code\1_1\platform.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\crc.c -o c_code\1_1\crc.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\crc.c -o c_code\1_1\crc.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_sockets.c -o c_code\1_1\stdlib_sockets.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_sockets.c -o c_code\1_1\stdlib_sockets.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_unsigned.c -o c_code\1_1\stdlib_unsigned.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_unsigned.c -o c_code\1_1\stdlib_unsigned.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\nversion.c -o c_code\1_1\nversion.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\nversion.c -o c_code\1_1\nversion.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\condsyms.c -o c_code\1_1\condsyms.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\condsyms.c -o c_code\1_1\condsyms.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\idents.c -o c_code\1_1\idents.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\idents.c -o c_code\1_1\idents.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\extccomp.c -o c_code\1_1\extccomp.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\extccomp.c -o c_code\1_1\extccomp.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\wordrecg.c -o c_code\1_1\wordrecg.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\wordrecg.c -o c_code\1_1\wordrecg.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\nimblecmd.c -o c_code\1_1\nimblecmd.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\nimblecmd.c -o c_code\1_1\nimblecmd.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_parseopt.c -o c_code\1_1\stdlib_parseopt.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_parseopt.c -o c_code\1_1\stdlib_parseopt.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\lexer.c -o c_code\1_1\lexer.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\lexer.c -o c_code\1_1\lexer.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\nimlexbase.c -o c_code\1_1\nimlexbase.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\nimlexbase.c -o c_code\1_1\nimlexbase.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\llstream.c -o c_code\1_1\llstream.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\llstream.c -o c_code\1_1\llstream.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\nimconf.c -o c_code\1_1\nimconf.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\nimconf.c -o c_code\1_1\nimconf.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\main.c -o c_code\1_1\main.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\main.c -o c_code\1_1\main.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\ast.c -o c_code\1_1\ast.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\ast.c -o c_code\1_1\ast.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_intsets.c -o c_code\1_1\stdlib_intsets.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_intsets.c -o c_code\1_1\stdlib_intsets.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\idgen.c -o c_code\1_1\idgen.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\idgen.c -o c_code\1_1\idgen.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\astalgo.c -o c_code\1_1\astalgo.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\astalgo.c -o c_code\1_1\astalgo.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\rodutils.c -o c_code\1_1\rodutils.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\rodutils.c -o c_code\1_1\rodutils.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\syntaxes.c -o c_code\1_1\syntaxes.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\syntaxes.c -o c_code\1_1\syntaxes.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\parser.c -o c_code\1_1\parser.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\parser.c -o c_code\1_1\parser.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\pbraces.c -o c_code\1_1\pbraces.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\pbraces.c -o c_code\1_1\pbraces.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\filters.c -o c_code\1_1\filters.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\filters.c -o c_code\1_1\filters.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\renderer.c -o c_code\1_1\renderer.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\renderer.c -o c_code\1_1\renderer.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\filter_tmpl.c -o c_code\1_1\filter_tmpl.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\filter_tmpl.c -o c_code\1_1\filter_tmpl.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\rodread.c -o c_code\1_1\rodread.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\rodread.c -o c_code\1_1\rodread.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\types.c -o c_code\1_1\types.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\types.c -o c_code\1_1\types.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\trees.c -o c_code\1_1\trees.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\trees.c -o c_code\1_1\trees.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_memfiles.c -o c_code\1_1\stdlib_memfiles.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_memfiles.c -o c_code\1_1\stdlib_memfiles.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\rodwrite.c -o c_code\1_1\rodwrite.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\rodwrite.c -o c_code\1_1\rodwrite.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\passes.c -o c_code\1_1\passes.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\passes.c -o c_code\1_1\passes.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\magicsys.c -o c_code\1_1\magicsys.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\magicsys.c -o c_code\1_1\magicsys.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\nimsets.c -o c_code\1_1\nimsets.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\nimsets.c -o c_code\1_1\nimsets.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\bitsets.c -o c_code\1_1\bitsets.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\bitsets.c -o c_code\1_1\bitsets.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\importer.c -o c_code\1_1\importer.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\importer.c -o c_code\1_1\importer.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\lookups.c -o c_code\1_1\lookups.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\lookups.c -o c_code\1_1\lookups.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\semdata.c -o c_code\1_1\semdata.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\semdata.c -o c_code\1_1\semdata.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\treetab.c -o c_code\1_1\treetab.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\treetab.c -o c_code\1_1\treetab.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\vmdef.c -o c_code\1_1\vmdef.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\vmdef.c -o c_code\1_1\vmdef.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\prettybase.c -o c_code\1_1\prettybase.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\prettybase.c -o c_code\1_1\prettybase.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_lexbase.c -o c_code\1_1\stdlib_lexbase.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_lexbase.c -o c_code\1_1\stdlib_lexbase.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\sem.c -o c_code\1_1\sem.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\sem.c -o c_code\1_1\sem.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\semfold.c -o c_code\1_1\semfold.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\semfold.c -o c_code\1_1\semfold.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\saturate.c -o c_code\1_1\saturate.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\saturate.c -o c_code\1_1\saturate.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\procfind.c -o c_code\1_1\procfind.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\procfind.c -o c_code\1_1\procfind.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\pragmas.c -o c_code\1_1\pragmas.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\pragmas.c -o c_code\1_1\pragmas.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\semtypinst.c -o c_code\1_1\semtypinst.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\semtypinst.c -o c_code\1_1\semtypinst.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\sigmatch.c -o c_code\1_1\sigmatch.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\sigmatch.c -o c_code\1_1\sigmatch.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\parampatterns.c -o c_code\1_1\parampatterns.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\parampatterns.c -o c_code\1_1\parampatterns.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\pretty.c -o c_code\1_1\pretty.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\pretty.c -o c_code\1_1\pretty.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\docgen.c -o c_code\1_1\docgen.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\docgen.c -o c_code\1_1\docgen.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\docutils_rstast.c -o c_code\1_1\docutils_rstast.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\docutils_rstast.c -o c_code\1_1\docutils_rstast.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_json.c -o c_code\1_1\stdlib_json.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_json.c -o c_code\1_1\stdlib_json.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_unicode.c -o c_code\1_1\stdlib_unicode.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_unicode.c -o c_code\1_1\stdlib_unicode.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\docutils_rst.c -o c_code\1_1\docutils_rst.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\docutils_rst.c -o c_code\1_1\docutils_rst.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\docutils_rstgen.c -o c_code\1_1\docutils_rstgen.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\docutils_rstgen.c -o c_code\1_1\docutils_rstgen.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\docutils_highlite.c -o c_code\1_1\docutils_highlite.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\docutils_highlite.c -o c_code\1_1\docutils_highlite.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_sequtils.c -o c_code\1_1\stdlib_sequtils.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_sequtils.c -o c_code\1_1\stdlib_sequtils.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_algorithm.c -o c_code\1_1\stdlib_algorithm.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_algorithm.c -o c_code\1_1\stdlib_algorithm.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\sempass2.c -o c_code\1_1\sempass2.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\sempass2.c -o c_code\1_1\sempass2.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\guards.c -o c_code\1_1\guards.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\guards.c -o c_code\1_1\guards.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_xmltree.c -o c_code\1_1\stdlib_xmltree.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_xmltree.c -o c_code\1_1\stdlib_xmltree.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_macros.c -o c_code\1_1\stdlib_macros.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_macros.c -o c_code\1_1\stdlib_macros.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_cgi.c -o c_code\1_1\stdlib_cgi.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_cgi.c -o c_code\1_1\stdlib_cgi.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_cookies.c -o c_code\1_1\stdlib_cookies.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\stdlib_cookies.c -o c_code\1_1\stdlib_cookies.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\typesrenderer.c -o c_code\1_1\typesrenderer.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\typesrenderer.c -o c_code\1_1\typesrenderer.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\transf.c -o c_code\1_1\transf.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\transf.c -o c_code\1_1\transf.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\cgmeth.c -o c_code\1_1\cgmeth.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\cgmeth.c -o c_code\1_1\cgmeth.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\lambdalifting.c -o c_code\1_1\lambdalifting.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\lambdalifting.c -o c_code\1_1\lambdalifting.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\lowerings.c -o c_code\1_1\lowerings.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\lowerings.c -o c_code\1_1\lowerings.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\vm.c -o c_code\1_1\vm.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\vm.c -o c_code\1_1\vm.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\vmgen.c -o c_code\1_1\vmgen.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\vmgen.c -o c_code\1_1\vmgen.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\vmdeps.c -o c_code\1_1\vmdeps.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\vmdeps.c -o c_code\1_1\vmdeps.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\evaltempl.c -o c_code\1_1\evaltempl.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\evaltempl.c -o c_code\1_1\evaltempl.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\aliases.c -o c_code\1_1\aliases.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\aliases.c -o c_code\1_1\aliases.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\patterns.c -o c_code\1_1\patterns.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\patterns.c -o c_code\1_1\patterns.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\semmacrosanity.c -o c_code\1_1\semmacrosanity.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\semmacrosanity.c -o c_code\1_1\semmacrosanity.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\semparallel.c -o c_code\1_1\semparallel.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\semparallel.c -o c_code\1_1\semparallel.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\cgen.c -o c_code\1_1\cgen.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\cgen.c -o c_code\1_1\cgen.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\ccgutils.c -o c_code\1_1\ccgutils.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\ccgutils.c -o c_code\1_1\ccgutils.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\cgendata.c -o c_code\1_1\cgendata.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\cgendata.c -o c_code\1_1\cgendata.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\ccgmerge.c -o c_code\1_1\ccgmerge.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\ccgmerge.c -o c_code\1_1\ccgmerge.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\jsgen.c -o c_code\1_1\jsgen.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\jsgen.c -o c_code\1_1\jsgen.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\passaux.c -o c_code\1_1\passaux.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\passaux.c -o c_code\1_1\passaux.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\depends.c -o c_code\1_1\depends.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\depends.c -o c_code\1_1\depends.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\docgen2.c -o c_code\1_1\docgen2.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\docgen2.c -o c_code\1_1\docgen2.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\service.c -o c_code\1_1\service.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\service.c -o c_code\1_1\service.o
IF ERRORLEVEL 1 (GOTO:END)
ECHO %CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\modules.c -o c_code\1_1\modules.o
%CC% %COMP_FLAGS% -Ic_code -c c_code\1_1\modules.c -o c_code\1_1\modules.o
IF ERRORLEVEL 1 (GOTO:END)

ECHO %LINKER% -o %BIN_DIR%\nim.exe  c_code\1_1\nim.o c_code\1_1\stdlib_system.o c_code\1_1\testability.o c_code\1_1\commands.o c_code\1_1\stdlib_os.o c_code\1_1\stdlib_strutils.o c_code\1_1\stdlib_parseutils.o c_code\1_1\stdlib_times.o c_code\1_1\stdlib_winlean.o c_code\1_1\msgs.o c_code\1_1\options.o c_code\1_1\lists.o c_code\1_1\stdlib_strtabs.o c_code\1_1\stdlib_hashes.o c_code\1_1\stdlib_osproc.o c_code\1_1\stdlib_streams.o c_code\1_1\stdlib_cpuinfo.o c_code\1_1\stdlib_sets.o c_code\1_1\stdlib_math.o c_code\1_1\stdlib_tables.o c_code\1_1\ropes.o c_code\1_1\platform.o c_code\1_1\crc.o c_code\1_1\stdlib_sockets.o c_code\1_1\stdlib_unsigned.o c_code\1_1\nversion.o c_code\1_1\condsyms.o c_code\1_1\idents.o c_code\1_1\extccomp.o c_code\1_1\wordrecg.o c_code\1_1\nimblecmd.o c_code\1_1\stdlib_parseopt.o c_code\1_1\lexer.o c_code\1_1\nimlexbase.o c_code\1_1\llstream.o c_code\1_1\nimconf.o c_code\1_1\main.o c_code\1_1\ast.o c_code\1_1\stdlib_intsets.o c_code\1_1\idgen.o c_code\1_1\astalgo.o c_code\1_1\rodutils.o c_code\1_1\syntaxes.o c_code\1_1\parser.o c_code\1_1\pbraces.o c_code\1_1\filters.o c_code\1_1\renderer.o c_code\1_1\filter_tmpl.o c_code\1_1\rodread.o c_code\1_1\types.o c_code\1_1\trees.o c_code\1_1\stdlib_memfiles.o c_code\1_1\rodwrite.o c_code\1_1\passes.o c_code\1_1\magicsys.o c_code\1_1\nimsets.o c_code\1_1\bitsets.o c_code\1_1\importer.o c_code\1_1\lookups.o c_code\1_1\semdata.o c_code\1_1\treetab.o c_code\1_1\vmdef.o c_code\1_1\prettybase.o c_code\1_1\stdlib_lexbase.o c_code\1_1\sem.o c_code\1_1\semfold.o c_code\1_1\saturate.o c_code\1_1\procfind.o c_code\1_1\pragmas.o c_code\1_1\semtypinst.o c_code\1_1\sigmatch.o c_code\1_1\parampatterns.o c_code\1_1\pretty.o c_code\1_1\docgen.o c_code\1_1\docutils_rstast.o c_code\1_1\stdlib_json.o c_code\1_1\stdlib_unicode.o c_code\1_1\docutils_rst.o c_code\1_1\docutils_rstgen.o c_code\1_1\docutils_highlite.o c_code\1_1\stdlib_sequtils.o c_code\1_1\stdlib_algorithm.o c_code\1_1\sempass2.o c_code\1_1\guards.o c_code\1_1\stdlib_xmltree.o c_code\1_1\stdlib_macros.o c_code\1_1\stdlib_cgi.o c_code\1_1\stdlib_cookies.o c_code\1_1\typesrenderer.o c_code\1_1\transf.o c_code\1_1\cgmeth.o c_code\1_1\lambdalifting.o c_code\1_1\lowerings.o c_code\1_1\vm.o c_code\1_1\vmgen.o c_code\1_1\vmdeps.o c_code\1_1\evaltempl.o c_code\1_1\aliases.o c_code\1_1\patterns.o c_code\1_1\semmacrosanity.o c_code\1_1\semparallel.o c_code\1_1\cgen.o c_code\1_1\ccgutils.o c_code\1_1\cgendata.o c_code\1_1\ccgmerge.o c_code\1_1\jsgen.o c_code\1_1\passaux.o c_code\1_1\depends.o c_code\1_1\docgen2.o c_code\1_1\service.o c_code\1_1\modules.o %LINK_FLAGS%
%LINKER% -o %BIN_DIR%\nim.exe  c_code\1_1\nim.o c_code\1_1\stdlib_system.o c_code\1_1\testability.o c_code\1_1\commands.o c_code\1_1\stdlib_os.o c_code\1_1\stdlib_strutils.o c_code\1_1\stdlib_parseutils.o c_code\1_1\stdlib_times.o c_code\1_1\stdlib_winlean.o c_code\1_1\msgs.o c_code\1_1\options.o c_code\1_1\lists.o c_code\1_1\stdlib_strtabs.o c_code\1_1\stdlib_hashes.o c_code\1_1\stdlib_osproc.o c_code\1_1\stdlib_streams.o c_code\1_1\stdlib_cpuinfo.o c_code\1_1\stdlib_sets.o c_code\1_1\stdlib_math.o c_code\1_1\stdlib_tables.o c_code\1_1\ropes.o c_code\1_1\platform.o c_code\1_1\crc.o c_code\1_1\stdlib_sockets.o c_code\1_1\stdlib_unsigned.o c_code\1_1\nversion.o c_code\1_1\condsyms.o c_code\1_1\idents.o c_code\1_1\extccomp.o c_code\1_1\wordrecg.o c_code\1_1\nimblecmd.o c_code\1_1\stdlib_parseopt.o c_code\1_1\lexer.o c_code\1_1\nimlexbase.o c_code\1_1\llstream.o c_code\1_1\nimconf.o c_code\1_1\main.o c_code\1_1\ast.o c_code\1_1\stdlib_intsets.o c_code\1_1\idgen.o c_code\1_1\astalgo.o c_code\1_1\rodutils.o c_code\1_1\syntaxes.o c_code\1_1\parser.o c_code\1_1\pbraces.o c_code\1_1\filters.o c_code\1_1\renderer.o c_code\1_1\filter_tmpl.o c_code\1_1\rodread.o c_code\1_1\types.o c_code\1_1\trees.o c_code\1_1\stdlib_memfiles.o c_code\1_1\rodwrite.o c_code\1_1\passes.o c_code\1_1\magicsys.o c_code\1_1\nimsets.o c_code\1_1\bitsets.o c_code\1_1\importer.o c_code\1_1\lookups.o c_code\1_1\semdata.o c_code\1_1\treetab.o c_code\1_1\vmdef.o c_code\1_1\prettybase.o c_code\1_1\stdlib_lexbase.o c_code\1_1\sem.o c_code\1_1\semfold.o c_code\1_1\saturate.o c_code\1_1\procfind.o c_code\1_1\pragmas.o c_code\1_1\semtypinst.o c_code\1_1\sigmatch.o c_code\1_1\parampatterns.o c_code\1_1\pretty.o c_code\1_1\docgen.o c_code\1_1\docutils_rstast.o c_code\1_1\stdlib_json.o c_code\1_1\stdlib_unicode.o c_code\1_1\docutils_rst.o c_code\1_1\docutils_rstgen.o c_code\1_1\docutils_highlite.o c_code\1_1\stdlib_sequtils.o c_code\1_1\stdlib_algorithm.o c_code\1_1\sempass2.o c_code\1_1\guards.o c_code\1_1\stdlib_xmltree.o c_code\1_1\stdlib_macros.o c_code\1_1\stdlib_cgi.o c_code\1_1\stdlib_cookies.o c_code\1_1\typesrenderer.o c_code\1_1\transf.o c_code\1_1\cgmeth.o c_code\1_1\lambdalifting.o c_code\1_1\lowerings.o c_code\1_1\vm.o c_code\1_1\vmgen.o c_code\1_1\vmdeps.o c_code\1_1\evaltempl.o c_code\1_1\aliases.o c_code\1_1\patterns.o c_code\1_1\semmacrosanity.o c_code\1_1\semparallel.o c_code\1_1\cgen.o c_code\1_1\ccgutils.o c_code\1_1\cgendata.o c_code\1_1\ccgmerge.o c_code\1_1\jsgen.o c_code\1_1\passaux.o c_code\1_1\depends.o c_code\1_1\docgen2.o c_code\1_1\service.o c_code\1_1\modules.o %LINK_FLAGS%


:END
IF ERRORLEVEL 1 (
    ECHO FAILURE
    ECHO.
    ECHO CSource compilation failed. Please check that the gcc compiler is in
    ECHO the PATH environment variable, and that you are calling the batch script
    ECHO that matches the target architecture of the compiler.
) ELSE (
    ECHO SUCCESS
)
exit /b %ERRORLEVEL%

