2 |
|
|
3 |
|
## Version information |
4 |
|
VERSION = 4 |
5 |
< |
REVISION = 1 |
5 |
> |
REVISION = 2 |
6 |
|
|
7 |
|
CXX = gcc |
8 |
|
CFLAGS = -O2 -I./ -fomit-frame-pointer -m68040 -m68881 |
14 |
|
OBJS = main.o Display.o Prefs.o AmigaGUI.o SID.o REU.o IEC.o 1541fs.o \ |
15 |
|
1541d64.o 1541t64.o 1541job.o SAM.o |
16 |
|
SLOBJS = $(OBJS) C64.o CPUC64.o VIC.o CIA.o CPU1541.o |
17 |
< |
PCOBJS = $(OBJS) C64_PC.o CPUC64_PC.o VIC.o CIA.o CPU1541_PC.o |
18 |
< |
PCFLAGS = -DPRECISE_CPU_CYCLES=1 -DPRECISE_CIA_CYCLES=1 -DPC_IS_POINTER=0 |
17 |
> |
SLFLAGS = -DPRECISE_CPU_CYCLES=1 -DPRECISE_CIA_CYCLES=1 -DPC_IS_POINTER=0 |
18 |
|
SCOBJS = $(OBJS) C64_SC.o CPUC64_SC.o VIC_SC.o CIA_SC.o CPU1541_SC.o CPU_common.o |
19 |
|
SCFLAGS = -DFRODO_SC |
20 |
|
|
22 |
|
$(CXX) -o Frodo $(SLOBJS) $(LDFLAGS) $(LIBRARIES) |
23 |
|
copy Frodo / |
24 |
|
|
26 |
– |
FrodoPC: $(PCOBJS) |
27 |
– |
$(CXX) -o FrodoPC $(PCOBJS) $(LDFLAGS) $(LIBRARIES) |
28 |
– |
copy FrodoPC / |
29 |
– |
|
25 |
|
FrodoSC: $(SCOBJS) |
26 |
|
$(CXX) -o FrodoSC $(SCOBJS) $(LDFLAGS) $(LIBRARIES) |
27 |
|
copy FrodoSC / |
28 |
|
|
29 |
< |
all: Frodo FrodoPC FrodoSC |
29 |
> |
all: Frodo FrodoSC |
30 |
|
|
31 |
|
clean: |
32 |
< |
@-delete $(SLOBJS) $(PCOBJS) $(SCOBJS) |
33 |
< |
@-delete -f Frodo FrodoPC FrodoSC |
32 |
> |
@-delete $(SLOBJS) $(SCOBJS) |
33 |
> |
@-delete -f Frodo FrodoSC |
34 |
|
|
35 |
|
.cpp.o: |
36 |
|
$(CXX) $(INCLUDES) $(CFLAGS) -o $@ -c $*.cpp |
37 |
|
|
38 |
|
.c.o: |
39 |
|
$(CXX) $(INCLUDES) $(CFLAGS) -o $@ -c $*.c |
45 |
– |
|
46 |
– |
.cpp.s: |
47 |
– |
$(CXX) $(INCLUDES) $(CFLAGS) -o $@ -S $*.cpp -g0 |
40 |
|
|
41 |
< |
C64_SC.o: C64.cpp C64.h C64_Amiga.h CmdPipe.h CPUC64.h CPU1541.h VIC.h SID.h CIA.h REU.h IEC.h 1541job.h Display.h Prefs.h |
42 |
< |
$(CXX) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
41 |
> |
C64.o: C64.cpp |
42 |
> |
$(CXX) $(INCLUDES) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp |
43 |
|
|
44 |
< |
CPUC64_SC.o: CPUC64_SC.cpp CPUC64.h CPU_emulcycle.h CPU_common.h C64.h VIC.h SID.h CIA.h REU.h IEC.h Display.h Version.h |
44 |
> |
C64_SC.o: C64.cpp |
45 |
|
$(CXX) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
46 |
|
|
47 |
< |
CPU1541_SC.o: CPU1541_SC.cpp CPU1541.h CPU_emulcycle.h CPU_common.h 1541job.h C64.h CIA.h Display.h |
48 |
< |
$(CXX) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
47 |
> |
CPUC64.o: CPUC64.cpp |
48 |
> |
$(CXX) $(INCLUDES) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp |
49 |
|
|
50 |
< |
VIC_SC.o: VIC_SC.cpp VIC.h C64.h CPUC64.h Display.h Prefs.h |
50 |
> |
CPUC64_SC.o: CPUC64_SC.cpp |
51 |
|
$(CXX) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
52 |
|
|
53 |
< |
CIA_SC.o: CIA_SC.cpp CIA.h CPUC64.h CPU1541.h VIC.h Prefs.h |
54 |
< |
$(CXX) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
53 |
> |
CPU1541.o: CPU1541.cpp |
54 |
> |
$(CXX) $(INCLUDES) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp |
55 |
|
|
56 |
< |
C64_PC.o: C64.cpp C64.h C64_Amiga.h CmdPipe.h CPUC64.h CPU1541.h VIC.h SID.h CIA.h REU.h IEC.h 1541job.h Display.h Prefs.h |
57 |
< |
$(CXX) $(INCLUDES) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp |
56 |
> |
CPU1541_SC.o: CPU1541_SC.cpp |
57 |
> |
$(CXX) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
58 |
|
|
59 |
< |
CPUC64_PC.o: CPUC64.cpp CPUC64.h CPU_emulline.h C64.h VIC.h SID.h CIA.h REU.h IEC.h Display.h Version.h |
60 |
< |
$(CXX) $(INCLUDES) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp |
59 |
> |
VIC_SC.o: VIC_SC.cpp |
60 |
> |
$(CXX) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
61 |
|
|
62 |
< |
CPU1541_PC.o: CPU1541.cpp CPU1541.h CPU_emulline.h 1541job.h C64.h CIA.h Display.h |
63 |
< |
$(CXX) $(INCLUDES) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp |
62 |
> |
CIA_SC.o: CIA_SC.cpp |
63 |
> |
$(CXX) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
64 |
|
|
65 |
|
## Dependencies |
66 |
|
main.o: main.cpp main.h main_Amiga.h C64.h Display.h Prefs.h SAM.h |