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