@echo off REM: Path setup SET src=%cd% cd .. if not exist "build\" mkdir build cd build REM: Build the base layer cl /nologo /Zi /LD %src%\base.target.c /Febase.dll REM: Build the main layer cl /nologo /Zi %src%\main.c REM: Build the plugin layer cl /nologo /Zi /LD %src%\plugin.c /Feplugin.dll