ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/Makefile.Amiga
Revision: 1.4
Committed: 2003-07-09T13:47:10Z (19 years, 5 months ago) by cebix
Branch: MAIN
CVS Tags: VERSION_4_2, HEAD
Changes since 1.3: +18 -26 lines
Log Message:
"plain" Frodo removed, "Frodo PC" renamed to "Frodo"

File Contents

# Content
1 # Makefile for Frodo (AmigaOS with GCC)
2
3 ## Version information
4 VERSION = 4
5 REVISION = 2
6
7 CXX = gcc
8 CFLAGS = -O2 -I./ -fomit-frame-pointer -m68040 -m68881
9 LIBRARIES =
10
11 .SUFFIXES: .o .cpp .c .h
12
13 ## Files
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 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
21 Frodo: $(SLOBJS)
22 $(CXX) -o Frodo $(SLOBJS) $(LDFLAGS) $(LIBRARIES)
23 copy Frodo /
24
25 FrodoSC: $(SCOBJS)
26 $(CXX) -o FrodoSC $(SCOBJS) $(LDFLAGS) $(LIBRARIES)
27 copy FrodoSC /
28
29 all: Frodo FrodoSC
30
31 clean:
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
40
41 C64.o: C64.cpp
42 $(CXX) $(INCLUDES) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
43
44 C64_SC.o: C64.cpp
45 $(CXX) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
46
47 CPUC64.o: CPUC64.cpp
48 $(CXX) $(INCLUDES) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
49
50 CPUC64_SC.o: CPUC64_SC.cpp
51 $(CXX) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
52
53 CPU1541.o: CPU1541.cpp
54 $(CXX) $(INCLUDES) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
55
56 CPU1541_SC.o: CPU1541_SC.cpp
57 $(CXX) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
58
59 VIC_SC.o: VIC_SC.cpp
60 $(CXX) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
61
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
67 C64.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
68 CmdPipe.o: CmdPipe.h
69 Display.o: Display.cpp Display.h Display_Amiga.h main.h Prefs.h Version.h
70 Prefs.o: Prefs.cpp Prefs.h Prefs_Amiga.h Display.h main.h
71 CPUC64.o: CPUC64.cpp CPUC64.h CPU_emulline.h C64.h VIC.h SID.h CIA.h REU.h IEC.h Display.h Version.h
72 CPU1541.o: CPU1541.cpp CPU1541.h CPU_emulline.h 1541job.h C64.h CIA.h Display.h
73 CPU_common.o: CPU_common.cpp CPU_common.h
74 VIC.o: VIC.cpp VIC.h C64.h CPUC64.h Display.h Prefs.h
75 SID.o: SID.cpp SID.h SID_Amiga.h Prefs.h
76 CIA.o: CIA.cpp CIA.h CPUC64.h CPU1541.h VIC.h Prefs.h
77 IEC.o: IEC.cpp IEC.h 1541fs.h 1541d64.h 1541t64.h Prefs.h Display.h
78 1541fs.o: 1541fs.cpp 1541fs.h IEC.h main.h Prefs.h
79 1541fs.h: IEC.h
80 1541d64.o: 1541d64.cpp 1541d64.h IEC.h Prefs.h
81 1541d64.h: IEC.h
82 1541t64.o: 1541t64.cpp 1541t64.h IEC.h Prefs.h
83 1541t64.h: IEC.h
84 1541job.o: 1541job.cpp 1541job.h CPU1541.h Prefs.h
85 REU.o: REU.cpp REU.h CPUC64.h Prefs.h
86 SAM.o: SAM.cpp SAM.h C64.h CPUC64.h CPU1541.h VIC.h SID.h CIA.h