-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmake.bat
More file actions
44 lines (40 loc) · 748 Bytes
/
Copy pathmake.bat
File metadata and controls
44 lines (40 loc) · 748 Bytes
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
@echo off
if [%1]==[clean] goto :clean
if [%1]==[run] goto :run
goto compileNlink
:clean
@echo off
del *.exe > nul
del gui.obj > nul
del gui.map > nul
del linklog.txt > nul
del complog.txt > nul
if [%2]==[txt] del *.txt > nul
goto :EOF
:run
del *.exe > nul
del gui.obj > nul
del gui.map > nul
del linklog.txt > nul
del complog.txt > nul
ml /c /Cp gui.asm > complog.txt
cls
echo ASSEMBLY DONE
link gui.obj,,,,, > linklog.txt
echo LINKING DONE
gui.exe
goto :EOF
:compileNlink
@echo off
del *.exe > nul
del gui.obj > nul
del gui.map > nul
del linklog.txt > nul
del complog.txt > nul
ml /c /Cp gui.asm > complog.txt
cls
echo ASSEMBLY DONE
link gui.obj,,,,, > linklog.txt
echo LINKING DONE
goto :EOF
:EOF