about summary refs log tree commit diff stats
path: root/make.bat
diff options
context:
space:
mode:
authorRory Bradford <roryrjb@gmail.com>2022-11-19 11:11:26 +0000
committerRory Bradford <roryrjb@gmail.com>2022-11-19 11:18:40 +0000
commit0f92f7352d1964a9859868439e8ded2c4de2111e (patch)
tree14c690402fa28c3b465ec00d2fe767054a1a3331 /make.bat
parentfbb7c479de91b197c6c501c2023bf564a6a7610f (diff)
downloadrf-0f92f7352d1964a9859868439e8ded2c4de2111e.tar.gz
Full native win32 support
This will now compile with MSVC using the make.bat batch file. It does
however bring in some additional third party dependencies: ports of
dirent and getopt (something I'd ideally like to work on in the future).

Signed-off-by: Rory Bradford <roryrjb@gmail.com>
Diffstat (limited to 'make.bat')
-rw-r--r--make.bat8
1 files changed, 8 insertions, 0 deletions
diff --git a/make.bat b/make.bat
new file mode 100644
index 0000000..151e0df
--- /dev/null
+++ b/make.bat
@@ -0,0 +1,8 @@
+@echo off
+
+if "%1%" == "clean" (
+	del *.obj *.exe *.lib *.exp *.pdb
+	exit /b
+)
+
+cl /nologo /W3 rf.c ignore.c include\common\strl.c getopt\getopt.c /link /out:rf.exe
\ No newline at end of file