1 |
cebix |
1.1 |
# Makefile.in for Frodo (generic Unix/X11) |
2 |
|
|
|
3 |
|
|
## Version information |
4 |
|
|
VERSION = 4 |
5 |
|
|
REVISION = 1 |
6 |
|
|
|
7 |
|
|
@SET_MAKE@ |
8 |
|
|
CXX = @CXX@ |
9 |
|
|
LIBS = @LIBS@ |
10 |
|
|
CFLAGS = @CFLAGS@ -I./ -DFRODO_HPUX_REV=@HPUX_REV@ -DKBD_LANG=@KBD_LANG@ |
11 |
|
|
|
12 |
|
|
INSTALL = @INSTALL@ |
13 |
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
14 |
|
|
INSTALL_DATA = @INSTALL_DATA@ |
15 |
|
|
prefix = @prefix@ |
16 |
|
|
exec_prefix = @exec_prefix@ |
17 |
|
|
bindir = @bindir@ |
18 |
|
|
libdir = @libdir@ |
19 |
|
|
sysconfdir = @sysconfdir@ |
20 |
|
|
|
21 |
|
|
.SUFFIXES: .o .cpp .h |
22 |
|
|
|
23 |
|
|
## Files |
24 |
|
|
OBJS = main.o Display.o Prefs.o SID.o REU.o IEC.o 1541fs.o \ |
25 |
|
|
1541d64.o 1541t64.o 1541job.o SAM.o CmdPipe.o |
26 |
|
|
SLOBJS = $(OBJS) C64.o CPUC64.o VIC.o CIA.o CPU1541.o |
27 |
|
|
PCOBJS = $(OBJS) C64_PC.o CPUC64_PC.o VIC.o CIA.o CPU1541_PC.o |
28 |
|
|
PCFLAGS = -DPRECISE_CPU_CYCLES=1 -DPRECISE_CIA_CYCLES=1 -DPC_IS_POINTER=0 |
29 |
|
|
SCOBJS = $(OBJS) C64_SC.o CPUC64_SC.o VIC_SC.o CIA_SC.o CPU1541_SC.o CPU_common.o |
30 |
|
|
SCFLAGS = -DFRODO_SC |
31 |
|
|
SRCS = main.cpp Display.cpp Prefs.cpp SID.cpp REU.cpp IEC.cpp 1541fs.cpp \ |
32 |
|
|
1541d64.cpp 1541t64.cpp 1541job.cpp SAM.cpp CmdPipe.cpp C64.cpp \ |
33 |
|
|
C64_PC.cpp C64_SC.cpp CPUC64.cpp CPUC64_PC.cpp CPUC64_SC.cpp \ |
34 |
|
|
VIC.cpp VIC_SC.cpp CIA.cpp CIA_SC.cpp CPU1541.cpp CPU1541_PC.cpp \ |
35 |
|
|
CPU1541_SC.cpp CPU_common.cpp |
36 |
|
|
|
37 |
|
|
all: Frodo FrodoPC FrodoSC |
38 |
|
|
|
39 |
|
|
Frodo: $(SLOBJS) |
40 |
|
|
$(CXX) -o Frodo $(SLOBJS) $(LDFLAGS) $(LIBS) |
41 |
|
|
|
42 |
|
|
FrodoPC: $(PCOBJS) |
43 |
|
|
$(CXX) -o FrodoPC $(PCOBJS) $(LDFLAGS) $(LIBS) |
44 |
|
|
|
45 |
|
|
FrodoSC: $(SCOBJS) |
46 |
|
|
$(CXX) -o FrodoSC $(SCOBJS) $(LDFLAGS) $(LIBS) |
47 |
|
|
|
48 |
|
|
clean: |
49 |
|
|
rm -f $(SLOBJS) $(PCOBJS) $(SCOBJS) |
50 |
|
|
rm -f Frodo FrodoPC FrodoSC |
51 |
|
|
|
52 |
|
|
distclean: clean |
53 |
|
|
rm -rf autom4te.cache |
54 |
|
|
rm -f Makefile sysconfig.h |
55 |
|
|
rm -f config.cache config.log config.status config.h |
56 |
|
|
|
57 |
|
|
depend dep: |
58 |
|
|
makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null |
59 |
|
|
|
60 |
|
|
.cpp.o: |
61 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) -o $@ -c $*.cpp |
62 |
|
|
|
63 |
|
|
.cpp.s: |
64 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) $(EXTRAFLAGS) -o $@ -S $*.cpp -g0 |
65 |
|
|
|
66 |
cebix |
1.2 |
C64_PC.o: C64.cpp C64.h C64_x.h CmdPipe.h CPUC64.h CPU1541.h VIC.h SID.h CIA.h REU.h IEC.h 1541job.h Display.h Prefs.h |
67 |
cebix |
1.1 |
$(CC) $(INCLUDES) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp |
68 |
|
|
|
69 |
cebix |
1.2 |
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 |
70 |
cebix |
1.1 |
$(CC) $(INCLUDES) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp |
71 |
|
|
|
72 |
cebix |
1.2 |
CPU1541_PC.o: CPU1541.cpp CPU1541.h CPU_emulline.h 1541job.h C64.h CIA.h Display.h |
73 |
cebix |
1.1 |
$(CC) $(INCLUDES) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp |
74 |
|
|
|
75 |
cebix |
1.2 |
C64_SC.o: C64_SC.cpp C64.h C64_x.h CmdPipe.h CPUC64.h CPU1541.h VIC.h SID.h CIA.h REU.h IEC.h 1541job.h Display.h Prefs.h |
76 |
cebix |
1.1 |
$(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
77 |
|
|
|
78 |
cebix |
1.2 |
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 |
79 |
cebix |
1.1 |
$(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
80 |
|
|
|
81 |
cebix |
1.2 |
CPU1541_SC.o: CPU1541_SC.cpp CPU1541.h CPU_emulcycle.h CPU_common.h 1541job.h C64.h CIA.h Display.h |
82 |
cebix |
1.1 |
$(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
83 |
|
|
|
84 |
|
|
VIC_SC.o: VIC_SC.cpp VIC.h C64.h CPUC64.h Display.h Prefs.h |
85 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
86 |
|
|
|
87 |
|
|
CIA_SC.o: CIA_SC.cpp CIA.h CPUC64.h CPU1541.h VIC.h Prefs.h |
88 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp |
89 |
|
|
|
90 |
|
|
#------------------------------------------------------------------------- |
91 |
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it. |