Mercurial > hg > Members > kono > nitros9-code
annotate dw3dos/makefile @ 2559:df7a31c0f085
Updated
author | boisy |
---|---|
date | Thu, 09 Sep 2010 14:08:24 +0000 |
parents | fd6248fea839 |
children | a9a5be5114b2 |
rev | line source |
---|---|
2236 | 1 include $(NITROS9DIR)/rules.mak |
2 | |
3 DEPENDS = ./makefile | |
4 BF68L1 = $(LEVEL1)/coco/bootfiles | |
5 MD68L1 = $(LEVEL1)/coco/modules | |
6 BF68L2 = $(LEVEL2)/coco3/bootfiles | |
7 MD68L2 = $(LEVEL2)/coco3/modules | |
8 BF63L2 = $(LEVEL2)/coco3_6309/bootfiles | |
9 MD63L2 = $(LEVEL2)/coco3_6309/modules | |
10 | |
2240 | 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 | 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 | 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 | 18 |
2237 | 19 ALLOBJS = $(ROMS) $(CASSFILES) $(TRACKS) |
2236 | 20 |
21 all: banner $(ALLOBJS) $(DEPENDS) | |
22 | |
23 banner: | |
24 @$(ECHO) "**************************************************" | |
25 @$(ECHO) "* *" | |
26 @$(ECHO) "* DriveWire 3 DOS Files *" | |
27 @$(ECHO) "* *" | |
28 @$(ECHO) "**************************************************" | |
29 | |
30 dsk: objs | |
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 | 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 | 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 | 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 | 49 dw3dos_mb_cc3.rom: dw3dos.asm |
50 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 | |
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 | 53 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2 |
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 | 58 dw3dos_dsk_cc3.rom: dw3dos.asm |
59 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aDISKROM=1 | |
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 | 65 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=1 -aDISKROM=1 |
66 | |
67 dw3doscc3.bin: dw3dos.asm | |
68 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aBIN=1 -mb | |
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 | 74 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=1 -aBIN=1 -mb |
75 | |
2237 | 76 dw3doscc3.wav: dw3doscc3.bin |
2241 | 77 makewav $< -r -d0x2400 -e0x2400 -o$@ -nDW3DOSC3 |
2237 | 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 | 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 | 83 makewav $< -r -d0x2400 -e0x2400 -o$@ -nDW3DOSC1 |
2237 | 84 |
2236 | 85 # DWDOS Tracks |
86 dw3dos_cc3.trk: dw3dos.asm | |
87 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aDOSTRACK | |
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 | 93 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=1 -aDOSTRACK |
94 | |
2256 | 95 drivewire.zip: $(ALLOBJS) |
96 zip $@ $(ALLOBJS) | |
97 | |
2236 | 98 clean: |
2256 | 99 $(RM) $(ALLOBJS) drivewire.zip |
2236 | 100 |