aboutsummaryrefslogtreecommitdiff
path: root/build.bat
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-08-15 13:12:39 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-08-15 13:12:39 -0300
commit2bf0920cc573d7067e2f5dad4b108d24f5a886f9 (patch)
tree821f1d915cbf275647a15a15c760cbd45b100087 /build.bat
downloadipchanger-2bf0920cc573d7067e2f5dad4b108d24f5a886f9.tar.gz
ipchanger-2bf0920cc573d7067e2f5dad4b108d24f5a886f9.zip
initial commit
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