File: djmake.bat

package info (click to toggle)
cscope 15.5-1.1sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,224 kB
  • ctags: 788
  • sloc: ansic: 7,565; sh: 3,795; lex: 1,833; lisp: 1,572; perl: 597; yacc: 549; makefile: 81; ml: 57
file content (21 lines) | stat: -rw-r--r-- 578 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@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":

patch -p0 -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 --