3 CFLAGS += -DCONFIG_FILE=\"$(CONFIG_FILE)\"
8 cyclone.s : Cyclone.exe
11 Cyclone.exe : Main.o Ea.o OpAny.o OpArith.o OpBranch.o OpLogic.o Disa.o OpMove.o
12 $(CC) $^ -o $@ -lstdc++
14 Main.o : ../Main.cpp ../app.h
15 $(CC) $(CFLAGS) ../Main.cpp -c -o $@
17 Ea.o : ../Ea.cpp ../app.h
18 $(CC) $(CFLAGS) ../Ea.cpp -c -o $@
20 OpAny.o : ../OpAny.cpp ../app.h
21 $(CC) $(CFLAGS) ../OpAny.cpp -c -o $@
23 OpArith.o : ../OpArith.cpp ../app.h
24 $(CC) $(CFLAGS) ../OpArith.cpp -c -o $@
26 OpBranch.o : ../OpBranch.cpp ../app.h
27 $(CC) $(CFLAGS) ../OpBranch.cpp -c -o $@
29 OpLogic.o : ../OpLogic.cpp ../app.h
30 $(CC) $(CFLAGS) ../OpLogic.cpp -c -o $@
32 OpMove.o : ../OpMove.cpp ../app.h
33 $(CC) $(CFLAGS) ../OpMove.cpp -c -o $@
35 Disa.o : ../Disa/Disa.c ../Disa/Disa.h
36 $(CC) $(CFLAGS) ../Disa/Disa.c -c -o $@
38 ../app.h : ../config.h
41 $(RM) *.o Cyclone.exe Cyclone.s