File: build.bat

package info (click to toggle)
slang2 2.3.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,488 kB
  • sloc: ansic: 101,756; sh: 3,435; makefile: 1,046; pascal: 440
file content (25 lines) | stat: -rw-r--r-- 618 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@echo off

if x%1 == x goto noparam

@echo.
@echo This script assumes you are working from a DOS shell, with NMAKE
@echo.

echo - generating Makefile in src...
src\mkfiles\mkmake %1 %2 %3 %4 %5 %6 %7 %8 %9 < src\mkfiles\makefile.all > src\Makefile

echo - generating Makefile in slsh...
src\mkfiles\mkmake %1 %2 %3 %4 %5 %6 %7 %8 %9 < slsh\mkfiles\makefile.all > slsh\Makefile

echo - generating Makefile in modules...
src\mkfiles\mkmake %1 %2 %3 %4 %5 %6 %7 %8 %9 < modules\mkfiles\makefile.all > modules\Makefile

copy mkfiles\makefile.dos Makefile
nmake
goto exit

:noparam
echo ERROR: need some parameters!

:exit