32x: drc: more wip, some games work, debug stats
[picodrive.git] / cpu / Cyclone / proj / Makefile.win
CommitLineData
cc68a136 1# Makefile for MS Visual C\r
2\r
3CPP=cl.exe\r
0e11c502 4CPP_PROJ=/nologo /W4 /O2 /D "_CRT_SECURE_NO_WARNINGS" /c \r
cc68a136 5\r
6LINK32=link.exe\r
7LINK32_FLAGS=user32.lib /nologo /subsystem:console /machine:I386 /out:Cyclone.exe\r
8\r
9\r
10ALL : cyclone.s\r
11\r
12cyclone.s : Cyclone.exe\r
13 Cyclone.exe\r
14\r
15Cyclone.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
18Main.obj : ..\Main.cpp ..\app.h\r
19 $(CPP) $(CPP_PROJ) ..\Main.cpp\r
20\r
21Ea.obj : ..\Ea.cpp ..\app.h\r
22 $(CPP) $(CPP_PROJ) ..\Ea.cpp\r
23\r
24OpAny.obj : ..\OpAny.cpp ..\app.h\r
25 $(CPP) $(CPP_PROJ) ..\OpAny.cpp\r
26\r
27OpArith.obj : ..\OpArith.cpp ..\app.h\r
28 $(CPP) $(CPP_PROJ) ..\OpArith.cpp\r
29\r
30OpBranch.obj : ..\OpBranch.cpp ..\app.h\r
31 $(CPP) $(CPP_PROJ) ..\OpBranch.cpp\r
32\r
33OpLogic.obj : ..\OpLogic.cpp ..\app.h\r
34 $(CPP) $(CPP_PROJ) ..\OpLogic.cpp\r
35\r
36OpMove.obj : ..\OpMove.cpp ..\app.h\r
37 $(CPP) $(CPP_PROJ) ..\OpMove.cpp\r
38\r
39Disa.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
45CLEAN :\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