cc68a136 |
1 | # Makefile for MS Visual C\r |
2 | \r |
3 | CPP=cl.exe\r |
0e11c502 |
4 | CPP_PROJ=/nologo /W4 /O2 /D "_CRT_SECURE_NO_WARNINGS" /c \r |
cc68a136 |
5 | \r |
6 | LINK32=link.exe\r |
7 | LINK32_FLAGS=user32.lib /nologo /subsystem:console /machine:I386 /out:Cyclone.exe\r |
8 | \r |
9 | \r |
10 | ALL : cyclone.s\r |
11 | \r |
12 | cyclone.s : Cyclone.exe\r |
13 | Cyclone.exe\r |
14 | \r |
15 | Cyclone.exe : Main.obj Ea.obj OpAny.obj OpArith.obj OpBranch.obj OpLogic.obj Disa.obj OpMove.obj\r |
16 | $(LINK32) Main.obj Ea.obj OpAny.obj OpArith.obj OpBranch.obj OpLogic.obj Disa.obj OpMove.obj $(LINK32_FLAGS)\r |
17 | \r |
18 | Main.obj : ..\Main.cpp ..\app.h\r |
19 | $(CPP) $(CPP_PROJ) ..\Main.cpp\r |
20 | \r |
21 | Ea.obj : ..\Ea.cpp ..\app.h\r |
22 | $(CPP) $(CPP_PROJ) ..\Ea.cpp\r |
23 | \r |
24 | OpAny.obj : ..\OpAny.cpp ..\app.h\r |
25 | $(CPP) $(CPP_PROJ) ..\OpAny.cpp\r |
26 | \r |
27 | OpArith.obj : ..\OpArith.cpp ..\app.h\r |
28 | $(CPP) $(CPP_PROJ) ..\OpArith.cpp\r |
29 | \r |
30 | OpBranch.obj : ..\OpBranch.cpp ..\app.h\r |
31 | $(CPP) $(CPP_PROJ) ..\OpBranch.cpp\r |
32 | \r |
33 | OpLogic.obj : ..\OpLogic.cpp ..\app.h\r |
34 | $(CPP) $(CPP_PROJ) ..\OpLogic.cpp\r |
35 | \r |
36 | OpMove.obj : ..\OpMove.cpp ..\app.h\r |
37 | $(CPP) $(CPP_PROJ) ..\OpMove.cpp\r |
38 | \r |
39 | Disa.obj : ..\disa\Disa.c ..\disa\Disa.h\r |
0e11c502 |
40 | $(CPP) $(CPP_PROJ) ..\disa\Disa.c\r |
cc68a136 |
41 | \r |
42 | ..\app.h : ..\config.h\r |
43 | \r |
44 | \r |
45 | CLEAN :\r |
46 | -@erase "Disa.obj"\r |
47 | -@erase "Ea.obj"\r |
48 | -@erase "Main.obj"\r |
49 | -@erase "OpAny.obj"\r |
50 | -@erase "OpArith.obj"\r |
51 | -@erase "OpBranch.obj"\r |
52 | -@erase "OpLogic.obj"\r |
53 | -@erase "OpMove.obj"\r |
54 | -@erase "vc60.idb"\r |
55 | -@erase "vc60.pch"\r |
56 | -@erase "Cyclone.exe"\r |
57 | -@erase "Cyclone.asm"\r |
58 | -@erase "Cyclone.s"\r |
cc68a136 |
59 | \r |