-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path+CompileWarnings.bat
34 lines (30 loc) · 1.34 KB
/
+CompileWarnings.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
@SET obj=..\..\..\..\Ofront\Obj
@SET tcc=..\..\..\..\WinDev\Bin\tcc\tcc.exe -Wall
@CD Obj
@DEL *.o
@IF EXIST %obj%\Platform.h MOVE /Y %obj%\Platform.h
@IF EXIST %obj%\Platform.c MOVE /Y %obj%\Platform.c
@IF EXIST %obj%\Console.h MOVE /Y %obj%\Console.h
@IF EXIST %obj%\Console.c MOVE /Y %obj%\Console.c
@IF EXIST %obj%\CmdLine.h MOVE /Y %obj%\CmdLine.h
@IF EXIST %obj%\CmdLine.c MOVE /Y %obj%\CmdLine.c
@IF EXIST %obj%\Files.h MOVE /Y %obj%\Files.h
@IF EXIST %obj%\Files.c MOVE /Y %obj%\Files.c
@IF EXIST %obj%\Strings.h MOVE /Y %obj%\Strings.h
@IF EXIST %obj%\Strings.c MOVE /Y %obj%\Strings.c
@IF EXIST %obj%\TapeTAP.h MOVE /Y %obj%\TapeTAP.h
@IF EXIST %obj%\TapeTAP.c MOVE /Y %obj%\TapeTAP.c
@IF EXIST %obj%\ZXBasic.h MOVE /Y %obj%\ZXBasic.h
@IF EXIST %obj%\ZXBasic.c MOVE /Y %obj%\ZXBasic.c
@IF EXIST %obj%\MakeZX.c MOVE /Y %obj%\MakeZX.c
@IF NOT EXIST SYSTEM.o %tcc% -c SYSTEM.c
@IF NOT EXIST Platform.o %tcc% -c Platform.c
@IF NOT EXIST Console.o %tcc% -c Console.c
@IF NOT EXIST CmdLine.o %tcc% -c CmdLine.c
@IF NOT EXIST Files.o %tcc% -c Files.c
@IF NOT EXIST Strings.o %tcc% -c Strings.c
@IF NOT EXIST TapeTAP.o %tcc% -c TapeTAP.c
@IF NOT EXIST ZXBasic.o %tcc% -c ZXBasic.c
%tcc% MakeZX.c SYSTEM.o Platform.o Console.o CmdLine.o Files.o Strings.o TapeTAP.o ZXBasic.o -omakezx.exe
@IF EXIST MakeZX.exe MOVE MakeZX.exe ..
@PAUSE