File: djmake.bat

package info (click to toggle)
cscope 15.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,732 kB
  • sloc: ansic: 9,444; sh: 4,730; lex: 1,690; lisp: 1,594; perl: 597; yacc: 588; ml: 56; makefile: 56
file content (22 lines) | stat: -rw-r--r-- 654 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 --