summaryrefslogtreecommitdiff
path: root/packages/MSDOS/djmake.bat
diff options
context:
space:
mode:
Diffstat (limited to 'packages/MSDOS/djmake.bat')
-rw-r--r--packages/MSDOS/djmake.bat22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/MSDOS/djmake.bat b/packages/MSDOS/djmake.bat
new file mode 100644
index 0000000..260bb11
--- /dev/null
+++ b/packages/MSDOS/djmake.bat
@@ -0,0 +1,22 @@
+@echo off
+
+if exist src\fscanner.l goto dir_okay
+echo !!!! Must run this batch file from the main source directory!
+exit
+
+:dir_okay
+
+echo ---- Start by patching the ylwrap script to avoid problems
+echo with "ln -s":
+
+if exist src\ylwrap patch -p0 -i packages/MSDOS/ylwrap.pat
+if exist ylwrap patch -p1 -i packages/MSDOS/ylwrap.pat
+
+echo ---- Now configure and make it.
+echo -- NOTE --: this assumes you have pdcurses installed!
+echo -- NOTE --: Will be using '-f' mode of flex, for faster scanning
+bash configure
+make CURSES_LIBS=-lpdcurses LFLAGS="-f8B"
+
+echo ---- You may now call "make install", if desired.
+echo -- DONE --