1 |
cebix |
1.4 |
# AmigaOS makefile for Basilisk II (SAS/C) |
2 |
cebix |
1.1 |
|
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 |
cebix |
1.3 |
OBJS = main.o prefs.o rom_patches.o slot_rom.o rsrc_patches.o emul_op.o macos_util.o \ |
13 |
cebix |
1.1 |
xpram.o timer.o adb.o serial.o ether.o sony.o disk.o cdrom.o scsi.o \ |
14 |
cebix |
1.3 |
video.o audio.o extfs.o user_strings.o \ |
15 |
cebix |
1.1 |
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 |
cebix |
1.2 |
ether_amiga.o scsi_amiga.o audio_amiga.o video_amiga.o user_strings_amiga.o |
18 |
cebix |
1.1 |
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 |
cebix |
1.3 |
main.o: /main.cpp |
28 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /main.cpp |
29 |
cebix |
1.1 |
prefs.o: /prefs.cpp |
30 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /prefs.cpp |
31 |
|
|
rom_patches.o: /rom_patches.cpp |
32 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /rom_patches.cpp |
33 |
|
|
slot_rom.o: /slot_rom.cpp |
34 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /slot_rom.cpp |
35 |
|
|
rsrc_patches.o: /rsrc_patches.cpp |
36 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /rsrc_patches.cpp |
37 |
|
|
emul_op.o: /emul_op.cpp |
38 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /emul_op.cpp |
39 |
|
|
macos_util.o: /macos_util.cpp |
40 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /macos_util.cpp |
41 |
|
|
xpram.o: /xpram.cpp |
42 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /xpram.cpp |
43 |
|
|
timer.o: /timer.cpp |
44 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /timer.cpp |
45 |
|
|
adb.o: /adb.cpp |
46 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /adb.cpp |
47 |
|
|
serial.o: /serial.cpp |
48 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /serial.cpp |
49 |
|
|
ether.o: /ether.cpp |
50 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /ether.cpp |
51 |
|
|
sony.o: /sony.cpp |
52 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /sony.cpp |
53 |
|
|
disk.o: /disk.cpp |
54 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /disk.cpp |
55 |
|
|
cdrom.o: /cdrom.cpp |
56 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /cdrom.cpp |
57 |
|
|
scsi.o: /scsi.cpp |
58 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /scsi.cpp |
59 |
|
|
video.o: /video.cpp |
60 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /video.cpp |
61 |
|
|
audio.o: /audio.cpp |
62 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /audio.cpp |
63 |
cebix |
1.3 |
extfs.o: /extfs.cpp |
64 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /extfs.cpp |
65 |
cebix |
1.1 |
user_strings.o: /user_strings.cpp |
66 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) /user_strings.cpp |
67 |
|
|
|
68 |
|
|
main_amiga.o: main_amiga.cpp |
69 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) main_amiga.cpp |
70 |
|
|
asm_support.o: asm_support.asm |
71 |
|
|
$(CC) $(INCLUDES) $(AFLAGS) asm_support.asm |
72 |
|
|
prefs_amiga.o: prefs_amiga.cpp |
73 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) prefs_amiga.cpp |
74 |
|
|
prefs_editor_amiga.o: prefs_editor_amiga.cpp |
75 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) prefs_editor_amiga.cpp |
76 |
|
|
sys_amiga.o: sys_amiga.cpp |
77 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) sys_amiga.cpp |
78 |
|
|
xpram_amiga.o: xpram_amiga.cpp |
79 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) xpram_amiga.cpp |
80 |
|
|
timer_amiga.o: timer_amiga.cpp |
81 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) timer_amiga.cpp |
82 |
|
|
clip_amiga.o: clip_amiga.cpp |
83 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) clip_amiga.cpp |
84 |
|
|
serial_amiga.o: serial_amiga.cpp |
85 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) serial_amiga.cpp |
86 |
|
|
ether_amiga.o: ether_amiga.cpp |
87 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) ether_amiga.cpp |
88 |
|
|
scsi_amiga.o: scsi_amiga.cpp |
89 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) scsi_amiga.cpp |
90 |
|
|
audio_amiga.o: audio_amiga.cpp |
91 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) audio_amiga.cpp |
92 |
|
|
video_amiga.o: video_amiga.cpp |
93 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) video_amiga.cpp |
94 |
cebix |
1.2 |
user_strings_amiga.o: user_strings_amiga.cpp |
95 |
|
|
$(CC) $(INCLUDES) $(CFLAGS) user_strings_amiga.cpp |