summaryrefslogtreecommitdiff
path: root/softcore/make.bat
diff options
context:
space:
mode:
Diffstat (limited to 'softcore/make.bat')
-rw-r--r--softcore/make.bat22
1 files changed, 22 insertions, 0 deletions
diff --git a/softcore/make.bat b/softcore/make.bat
new file mode 100644
index 000000000000..8dedfc0830eb
--- /dev/null
+++ b/softcore/make.bat
@@ -0,0 +1,22 @@
+@echo off
+
+if "%1" == "clean" goto CLEAN
+
+if exist makesoftcore.exe goto SKIPCL
+cl /Zi /Od makesoftcore.c ..\lzcompress.c ..\bit.c
+goto MAKESOFTCORE
+
+:SKIPCL
+echo makesoftcore.exe exists, skipping building it.
+
+:MAKESOFTCORE
+echo on
+makesoftcore softcore.fr ifbrack.fr prefix.fr ficl.fr jhlocal.fr marker.fr oo.fr classes.fr string.fr win32.fr ficllocal.fr fileaccess.fr
+goto EXIT
+
+:CLEAN
+del *.obj
+del makesoftcore.exe
+del ..\softcore.c
+
+:EXIT