-
Notifications
You must be signed in to change notification settings - Fork 1
/
make.bat
54 lines (46 loc) · 1021 Bytes
/
make.bat
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
@ECHO OFF
IF %1. == . GOTO BuildDebug
IF %1. == debug. GOTO BuildDebug
IF %1. == DEBUG. GOTO BuildDebug
IF %1. == release. GOTO BuildRelease
IF %1. == RELEASE. GOTO BuildRelease
IF %1. == clean. GOTO Clean
IF %1. == CLEAN. GOTO Clean
IF %1. == spotless. GOTO Spotless
IF %1. == SPOTLESS. GOTO Spotless
ECHO Target Unknown
GOTO Done
:BuildRelease
CD SRC
NMAKE /F WIN32CI.MAK CFG="Win32 Release"
CD ..
GOTO DoneBuilding
:BuildDebug
CD SRC
NMAKE /F WIN32CI.MAK CFG="Win32 Debug"
CD ..
GOTO DoneBuilding
:DoneBuilding
COPY SRC\NETCI.EXE .\NETCI.EXE
IF NOT EXIST NETCI.INI COPY SRC\NETCI.INI .\NETCI.INI
GOTO Done
:Clean
ECHO Y|DEL SRC\WINREL\*.*
RMDIR SRC\WINREL
ECHO Y|DEL SRC\WINDEBUG\*.*
RMDIR SRC\WINDEBUG
DEL SRC\NETCI.EXE
DEL NETCI.EXE
GOTO Done
:Spotless
ECHO Y|DEL SRC\WINREL\*.*
RMDIR SRC\WINREL
ECHO Y|DEL SRC\WINDEBUG\*.*
RMDIR SRC\WINDEBUG
DEL SRC\NETCI.EXE
DEL NETCI.EXE
DEL STD.DB
DEL SYSLOG.TXT
DEL NETCI.INI
DEL CI200FS\ETC\PKG\PACKAGES.LST
:Done