aboutsummaryrefslogtreecommitdiff
path: root/build_msvc.bat
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2022-01-16 00:49:30 +1100
committerNicholas Tay <nick@windblume.net>2022-01-16 00:49:30 +1100
commit319cd947618d4ebaffc8aba636d017fe5c956025 (patch)
tree9fb6fa5359b8c81622702151b1a1d82753933c6d /build_msvc.bat
parent35bc2c5c518da3133cc2810efbfcb10542b44d27 (diff)
downloadpassgen-319cd947618d4ebaffc8aba636d017fe5c956025.tar.gz
passgen-319cd947618d4ebaffc8aba636d017fe5c956025.tar.bz2
passgen-319cd947618d4ebaffc8aba636d017fe5c956025.zip
Batch script for Windows compilation
Diffstat (limited to 'build_msvc.bat')
-rw-r--r--build_msvc.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/build_msvc.bat b/build_msvc.bat
new file mode 100644
index 0000000..e0eb676
--- /dev/null
+++ b/build_msvc.bat
@@ -0,0 +1,9 @@
+@echo off
+rem -- RUN FROM DEVELOPER CMD FOR VS!! --
+
+rem /W4 used because /Wall is too much...
+set CFLAGS=/W4 /FC /nologo
+rem Link for wincrypt support
+set LIBS=Advapi32.lib
+
+cl %CFLAGS% passgen.c /link %LIBS% \ No newline at end of file