annotate dw3dos/makefile @ 2559:df7a31c0f085

Updated
author boisy
date Thu, 09 Sep 2010 14:08:24 +0000
parents fd6248fea839
children a9a5be5114b2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
1 include $(NITROS9DIR)/rules.mak
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
2
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
3 DEPENDS = ./makefile
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
4 BF68L1 = $(LEVEL1)/coco/bootfiles
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
5 MD68L1 = $(LEVEL1)/coco/modules
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
6 BF68L2 = $(LEVEL2)/coco3/bootfiles
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
7 MD68L2 = $(LEVEL2)/coco3/modules
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
8 BF63L2 = $(LEVEL2)/coco3_6309/bootfiles
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
9 MD63L2 = $(LEVEL2)/coco3_6309/modules
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
10
2240
f86e2e77f7b4 Updated mistake
boisy
parents: 2239
diff changeset
11 ROMS = dw3dos_mb_cc3.rom dw3dos_mb_cc2.rom dw3dos_mb_cc1.rom \
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
12 dw3dos_dsk_cc3.rom dw3dos_dsk_cc2.rom dw3dos_dsk_cc1.rom \
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
13 dw3doscc3.bin dw3doscc2.bin dw3doscc1.bin
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
14
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
15 CASSFILES = hdbcc1.wav hdbcc2.wav hdbcc3.wav dw3doscc1.wav dw3doscc2.wav dw3doscc3.wav
2237
89f86bbd3f79 Using makewav to create cassette files
boisy
parents: 2236
diff changeset
16
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
17 TRACKS = dw3dos_cc3.trk dw3dos_cc2.trk dw3dos_cc1.trk
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
18
2237
89f86bbd3f79 Using makewav to create cassette files
boisy
parents: 2236
diff changeset
19 ALLOBJS = $(ROMS) $(CASSFILES) $(TRACKS)
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
20
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
21 all: banner $(ALLOBJS) $(DEPENDS)
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
22
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
23 banner:
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
24 @$(ECHO) "**************************************************"
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
25 @$(ECHO) "* *"
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
26 @$(ECHO) "* DriveWire 3 DOS Files *"
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
27 @$(ECHO) "* *"
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
28 @$(ECHO) "**************************************************"
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
29
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
30 dsk: objs
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
31
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
32 # HDB-DOS DW Cassette Files
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
33 hdbcc1.wav: hdbdoscc1.bin
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
34 dd if=$< bs=1 skip=5 of=hdbtmp count=8240
2241
d8ecc7e796fb Rename and wrap-up
boisy
parents: 2240
diff changeset
35 makewav hdbtmp -r -d0x4fd0 -e0x4fd0 -o$@ -nHDBDOSC1
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
36 rm hdbtmp
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
37
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
38 hdbcc2.wav: hdbdoscc2.bin
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
39 dd if=$< bs=1 skip=5 of=hdbtmp count=8240
2241
d8ecc7e796fb Rename and wrap-up
boisy
parents: 2240
diff changeset
40 makewav hdbtmp -r -d0x4fd0 -e0x4fd0 -o$@ -nHDBDOSC2
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
41 rm hdbtmp
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
42
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
43 hdbcc3.wav: hdbdoscc3.bin
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
44 dd if=$< bs=1 skip=5 of=hdbtmp count=8240
2241
d8ecc7e796fb Rename and wrap-up
boisy
parents: 2240
diff changeset
45 makewav hdbtmp -r -d0x4fd0 -e0x4fd0 -o$@ -nHDBDOSC3
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
46 rm hdbtmp
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
47
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
48 # DW3DOS ROMs
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
49 dw3dos_mb_cc3.rom: dw3dos.asm
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
50 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
51
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
52 dw3dos_mb_cc2.rom: dw3dos.asm
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
53 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
54
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
55 dw3dos_mb_cc1.rom: dw3dos.asm
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
56 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=1
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
57
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
58 dw3dos_dsk_cc3.rom: dw3dos.asm
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
59 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aDISKROM=1
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
60
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
61 dw3dos_dsk_cc2.rom: dw3dos.asm
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
62 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2 -aDISKROM=1
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
63
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
64 dw3dos_dsk_cc1.rom: dw3dos.asm
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
65 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=1 -aDISKROM=1
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
66
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
67 dw3doscc3.bin: dw3dos.asm
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
68 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aBIN=1 -mb
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
69
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
70 dw3doscc2.bin: dw3dos.asm
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
71 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2 -aBIN=1 -mb
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
72
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
73 dw3doscc1.bin: dw3dos.asm
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
74 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=1 -aBIN=1 -mb
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
75
2237
89f86bbd3f79 Using makewav to create cassette files
boisy
parents: 2236
diff changeset
76 dw3doscc3.wav: dw3doscc3.bin
2241
d8ecc7e796fb Rename and wrap-up
boisy
parents: 2240
diff changeset
77 makewav $< -r -d0x2400 -e0x2400 -o$@ -nDW3DOSC3
2237
89f86bbd3f79 Using makewav to create cassette files
boisy
parents: 2236
diff changeset
78
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
79 dw3doscc2.wav: dw3doscc2.bin
2241
d8ecc7e796fb Rename and wrap-up
boisy
parents: 2240
diff changeset
80 makewav $< -r -d0x2400 -e0x2400 -o$@ -nDW3DOSC2
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
81
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
82 dw3doscc1.wav: dw3doscc1.bin
2241
d8ecc7e796fb Rename and wrap-up
boisy
parents: 2240
diff changeset
83 makewav $< -r -d0x2400 -e0x2400 -o$@ -nDW3DOSC1
2237
89f86bbd3f79 Using makewav to create cassette files
boisy
parents: 2236
diff changeset
84
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
85 # DWDOS Tracks
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
86 dw3dos_cc3.trk: dw3dos.asm
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
87 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aDOSTRACK
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
88
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
89 dw3dos_cc2.trk: dw3dos.asm
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
90 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2 -aDOSTRACK
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
91
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
92 dw3dos_cc1.trk: dw3dos.asm
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
93 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=1 -aDOSTRACK
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
94
2256
fd6248fea839 Added drivewire.zip target
boisy
parents: 2241
diff changeset
95 drivewire.zip: $(ALLOBJS)
fd6248fea839 Added drivewire.zip target
boisy
parents: 2241
diff changeset
96 zip $@ $(ALLOBJS)
fd6248fea839 Added drivewire.zip target
boisy
parents: 2241
diff changeset
97
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
98 clean:
2256
fd6248fea839 Added drivewire.zip target
boisy
parents: 2241
diff changeset
99 $(RM) $(ALLOBJS) drivewire.zip
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
100