File: djmake.bat

package info (click to toggle)
cscope 15.8a-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,636 kB
  • ctags: 1,933
  • sloc: ansic: 9,441; sh: 4,661; lex: 1,854; lisp: 1,572; perl: 598; yacc: 587; ml: 57; makefile: 52
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 --