-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_build.cmd
More file actions
39 lines (29 loc) · 1.2 KB
/
_build.cmd
File metadata and controls
39 lines (29 loc) · 1.2 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
@echo off
diff -u config.h.org config.h > config.h.diff
diff -u util.c.org util.c > util.c.diff
SET WATCOM=E:\compilers\WATCOM
set ENDLIBPATH=%ENDLIBPATH%;%WATCOM%\BINP\DLL
set path=%path%;%WATCOM%\BINP;%WATCOM%\BINW;e:\os2tk45\bin
set help=%help%;%WATCOM%\BINP\HELP
set bookshelf=%bookshelf%;%WATCOM%\BINP\HELP
SET INCLUDE=%WATCOM%\H\OS2;%WATCOM%\H;.
SET EDPATH=%WATCOM%\EDDAT
for %%d in (*.err *.obj *.exe ..\*.exe) do if exist %%d del %%d
if not exist output mkdir output
@echo on
wcl386 -q -fe=output\dmidecode.exe dmidecode.c dmiopt.c dmioem.c dmioutput.c util.c getopt.c getopt1.c
@echo off
if not exist output\dmidecode.exe goto :error
wcl386 -q -fe=output\biosdecode.exe biosdecode.c util.c getopt.c getopt1.c
if not exist output\biosdecode.exe goto :error
wcl386 -q -fe=output\ownership.exe ownership.c util.c getopt.c getopt1.c
if not exist output\ownership.exe goto :error
wcl386 -q -fe=output\vpddecode.exe vpddecode.c vpdopt.c util.c getopt.c getopt1.c
if not exist output\vpddecode.exe goto :error
call lxlite output\*.exe
rem for %%d in (*.err *.obj) do if exist %%d del %%d
goto :end
:error
echo %0: error
pause
:end