aboutsummaryrefslogtreecommitdiff
path: root/build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'build.bat')
-rw-r--r--build.bat15
1 files changed, 15 insertions, 0 deletions
diff --git a/build.bat b/build.bat
new file mode 100644
index 0000000..980e997
--- /dev/null
+++ b/build.bat
@@ -0,0 +1,15 @@
+@SETLOCAL
+
+@SET CFLAGS=-W3 -WX -Zi -D_CRT_SECURE_NO_WARNINGS=1
+@SET LFLAGS=-subsystem:console -incremental:no -opt:ref -dynamicbase user32.lib
+
+pushd %~dp0
+del /q .\build\*
+mkdir .\build
+pushd .\build
+cl %* -Fe:"ipchanger.exe" %CFLAGS% "../ipchanger.cc" /link %LFLAGS%
+cl %* -Fe:"memscan.exe" %CFLAGS% "../memscan.cc" /link %LFLAGS%
+popd
+popd
+
+@ENDLOCAL