From 5b8d37094a38aff1b2669056a4011a42450fd9c5 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 2 Jul 2022 21:51:50 +0100 Subject: Add alias management plus input filtering skeleton Some of the alias stuff was kind of stolen from earlier figuring-out Bill did. More Bill code is also on the way. :^) --- compile.bat | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'compile.bat') diff --git a/compile.bat b/compile.bat index a96da7a..1ede9f3 100644 --- a/compile.bat +++ b/compile.bat @@ -49,6 +49,8 @@ set src= setlocal EnableDelayedExpansion for /f "tokens=2" %%f in ('findstr /B /C:":+ " "%~nx0"') do set src=!src! src/%%f setlocal DisableDelayedExpansion +:+ ac.c +:+ alias.c :+ autojump.c :+ con_.c :+ demorec.c @@ -68,11 +70,9 @@ setlocal DisableDelayedExpansion :+ rinput.c :+ sst.c :+ x86.c -:: just tack these on, whatever -if "%dbg%"=="1" ( - set src=%src% src/dbg.c - set src=%src% src/udis86.c -) +:: just tack these on, whatever (repeated condition because of expansion memes) +if "%dbg%"=="1" set src=%src% src/dbg.c +if "%dbg%"=="1" set src=%src% src/udis86.c %HOSTCC% -municode -O2 %warnings% -D_CRT_SECURE_NO_WARNINGS ^ -o .build/codegen.exe src/build/codegen.c src/build/cmeta.c || exit /b -- cgit v1.2.3-54-g00ecf