updated Musashi to MAME 0.117
[picodrive.git] / cpu / Cyclone / proj / Makefile
CommitLineData
a9a5a6e0 1CFLAGS = -Wall
cc68a136 2
7336a99a 3all : cyclone.s
cc68a136 4
5cyclone.s : Cyclone.exe
6 ./Cyclone.exe
7
8Cyclone.exe : Main.o Ea.o OpAny.o OpArith.o OpBranch.o OpLogic.o Disa.o OpMove.o
9 $(CC) $^ -o $@ -lstdc++
10
11Main.o : ../Main.cpp ../app.h
12 $(CC) $(CFLAGS) ../Main.cpp -c -o $@
13
14Ea.o : ../Ea.cpp ../app.h
15 $(CC) $(CFLAGS) ../Ea.cpp -c -o $@
16
17OpAny.o : ../OpAny.cpp ../app.h
18 $(CC) $(CFLAGS) ../OpAny.cpp -c -o $@
19
20OpArith.o : ../OpArith.cpp ../app.h
21 $(CC) $(CFLAGS) ../OpArith.cpp -c -o $@
22
23OpBranch.o : ../OpBranch.cpp ../app.h
24 $(CC) $(CFLAGS) ../OpBranch.cpp -c -o $@
25
26OpLogic.o : ../OpLogic.cpp ../app.h
27 $(CC) $(CFLAGS) ../OpLogic.cpp -c -o $@
28
29OpMove.o : ../OpMove.cpp ../app.h
30 $(CC) $(CFLAGS) ../OpMove.cpp -c -o $@
31
32Disa.o : ../Disa/Disa.c ../Disa/Disa.h
33 $(CC) $(CFLAGS) ../Disa/Disa.c -c -o $@
34
35../app.h : ../config.h
36
37clean :
38 $(RM) *.o Cyclone.exe Cyclone.s
39