1 |
# AmigaOS makefile for Basilisk II |
2 |
|
3 |
## System specific configuration |
4 |
CC = sc |
5 |
CFLAGS = MCCONS STRINGMERGE UTILLIB NOSTACKCHECK CPU=68020 MATH=IEEE IGNORE=1534,1597 OBJNAME=/AmigaOS/ # OPT OPTSCHED PARM=REGISTER |
6 |
LDFLAGS = MATH=IEEE SMALLCODE SMALLDATA STRIPDEBUG |
7 |
INCLUDES = IDIR=/include |
8 |
LIBS = LIB lib:debug.lib |
9 |
AFLAGS = CPU=68020 |
10 |
|
11 |
## Files |
12 |
OBJS = prefs.o rom_patches.o slot_rom.o rsrc_patches.o emul_op.o macos_util.o \ |
13 |
xpram.o timer.o adb.o serial.o ether.o sony.o disk.o cdrom.o scsi.o \ |
14 |
video.o audio.o user_strings.o \ |
15 |
main_amiga.o asm_support.o prefs_amiga.o prefs_editor_amiga.o \ |
16 |
sys_amiga.o xpram_amiga.o timer_amiga.o clip_amiga.o serial_amiga.o \ |
17 |
ether_amiga.o scsi_amiga.o audio_amiga.o video_amiga.o user_strings_amiga.o |
18 |
APP = BasiliskII |
19 |
|
20 |
## Rules |
21 |
$(APP): $(OBJS) |
22 |
$(CC) $(LDFLAGS) LINK $(OBJS) $(LIBS) TO $(APP) |
23 |
|
24 |
clean: |
25 |
-delete $(APP) $(OBJS) |
26 |
|
27 |
prefs.o: /prefs.cpp |
28 |
$(CC) $(INCLUDES) $(CFLAGS) /prefs.cpp |
29 |
rom_patches.o: /rom_patches.cpp |
30 |
$(CC) $(INCLUDES) $(CFLAGS) /rom_patches.cpp |
31 |
slot_rom.o: /slot_rom.cpp |
32 |
$(CC) $(INCLUDES) $(CFLAGS) /slot_rom.cpp |
33 |
rsrc_patches.o: /rsrc_patches.cpp |
34 |
$(CC) $(INCLUDES) $(CFLAGS) /rsrc_patches.cpp |
35 |
emul_op.o: /emul_op.cpp |
36 |
$(CC) $(INCLUDES) $(CFLAGS) /emul_op.cpp |
37 |
macos_util.o: /macos_util.cpp |
38 |
$(CC) $(INCLUDES) $(CFLAGS) /macos_util.cpp |
39 |
xpram.o: /xpram.cpp |
40 |
$(CC) $(INCLUDES) $(CFLAGS) /xpram.cpp |
41 |
timer.o: /timer.cpp |
42 |
$(CC) $(INCLUDES) $(CFLAGS) /timer.cpp |
43 |
adb.o: /adb.cpp |
44 |
$(CC) $(INCLUDES) $(CFLAGS) /adb.cpp |
45 |
serial.o: /serial.cpp |
46 |
$(CC) $(INCLUDES) $(CFLAGS) /serial.cpp |
47 |
ether.o: /ether.cpp |
48 |
$(CC) $(INCLUDES) $(CFLAGS) /ether.cpp |
49 |
sony.o: /sony.cpp |
50 |
$(CC) $(INCLUDES) $(CFLAGS) /sony.cpp |
51 |
disk.o: /disk.cpp |
52 |
$(CC) $(INCLUDES) $(CFLAGS) /disk.cpp |
53 |
cdrom.o: /cdrom.cpp |
54 |
$(CC) $(INCLUDES) $(CFLAGS) /cdrom.cpp |
55 |
scsi.o: /scsi.cpp |
56 |
$(CC) $(INCLUDES) $(CFLAGS) /scsi.cpp |
57 |
video.o: /video.cpp |
58 |
$(CC) $(INCLUDES) $(CFLAGS) /video.cpp |
59 |
audio.o: /audio.cpp |
60 |
$(CC) $(INCLUDES) $(CFLAGS) /audio.cpp |
61 |
user_strings.o: /user_strings.cpp |
62 |
$(CC) $(INCLUDES) $(CFLAGS) /user_strings.cpp |
63 |
|
64 |
main_amiga.o: main_amiga.cpp |
65 |
$(CC) $(INCLUDES) $(CFLAGS) main_amiga.cpp |
66 |
asm_support.o: asm_support.asm |
67 |
$(CC) $(INCLUDES) $(AFLAGS) asm_support.asm |
68 |
prefs_amiga.o: prefs_amiga.cpp |
69 |
$(CC) $(INCLUDES) $(CFLAGS) prefs_amiga.cpp |
70 |
prefs_editor_amiga.o: prefs_editor_amiga.cpp |
71 |
$(CC) $(INCLUDES) $(CFLAGS) prefs_editor_amiga.cpp |
72 |
sys_amiga.o: sys_amiga.cpp |
73 |
$(CC) $(INCLUDES) $(CFLAGS) sys_amiga.cpp |
74 |
xpram_amiga.o: xpram_amiga.cpp |
75 |
$(CC) $(INCLUDES) $(CFLAGS) xpram_amiga.cpp |
76 |
timer_amiga.o: timer_amiga.cpp |
77 |
$(CC) $(INCLUDES) $(CFLAGS) timer_amiga.cpp |
78 |
clip_amiga.o: clip_amiga.cpp |
79 |
$(CC) $(INCLUDES) $(CFLAGS) clip_amiga.cpp |
80 |
serial_amiga.o: serial_amiga.cpp |
81 |
$(CC) $(INCLUDES) $(CFLAGS) serial_amiga.cpp |
82 |
ether_amiga.o: ether_amiga.cpp |
83 |
$(CC) $(INCLUDES) $(CFLAGS) ether_amiga.cpp |
84 |
scsi_amiga.o: scsi_amiga.cpp |
85 |
$(CC) $(INCLUDES) $(CFLAGS) scsi_amiga.cpp |
86 |
audio_amiga.o: audio_amiga.cpp |
87 |
$(CC) $(INCLUDES) $(CFLAGS) audio_amiga.cpp |
88 |
video_amiga.o: video_amiga.cpp |
89 |
$(CC) $(INCLUDES) $(CFLAGS) video_amiga.cpp |
90 |
user_strings_amiga.o: user_strings_amiga.cpp |
91 |
$(CC) $(INCLUDES) $(CFLAGS) user_strings_amiga.cpp |