Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3/cmds/makefile @ 2243:cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
author | boisy |
---|---|
date | Thu, 24 Dec 2009 01:30:09 +0000 |
parents | 2a889a511f0a |
children | 1539e253c343 |
rev | line source |
---|---|
2048 | 1 PORT = coco3 |
2 include $(NITROS9DIR)/rules.mak | |
3 | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
4 vpath %.asm $(LEVEL2)/cmds:$(LEVEL1)/cmds:$(NITROS9DIR)/3rdparty/packages/basic09 |
2048 | 5 |
6 DEPENDS = ./makefile | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
7 AFLAGS += -i=$(NITROS9DIR)/3rdparty/packages/basic09 |
2048 | 8 |
9 CMDS = asm attr backup binex build cmp cobbler copy cputype \ | |
10 date dcheck debug ded deiniz del deldir devs dir dirsort disasm \ | |
11 display dmem dmode dsave dump echo edit error exbin \ | |
12 format free grfdrv help ident iniz irqs link list load login \ | |
13 makdir mdir megaread merge mfree mmap modpatch montype mpi os9gen padrom park \ | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
14 pmap proc procs prompt pwd pxd reboot rename save setime \ |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
15 shell_21 sleep smap tee tmode touch tsmon tuneport unlink verify wcreate xmode |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
16 |
2159 | 17 CMDS_D2 = basic09 runb gfx2 gfx inkey syscall copy del echo format \ |
18 merge os9gen prompt tmode | |
2048 | 19 |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
20 CMDS_DW = dw wget ftp |
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
21 |
2048 | 22 SHELLMODS = shellplus date deiniz echo iniz link load save unlink |
23 UTILPAK1 = attr build copy del deldir dir display list makdir mdir \ | |
24 merge mfree procs rename tmode | |
25 | |
26 # Files not compilable by os9asm: config | |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
27 all: $(CMDS) $(CMDS_D2) $(CMDS_DW) shell utilpak1 $(DEPENDS) |
2048 | 28 |
29 runb: runb.asm | |
30 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1 | |
31 $(MERGE) $@ $(SUBS)>$@.tmp | |
32 $(RM) $@ | |
33 $(MOVE) $@.tmp $@ | |
34 | |
35 tmode: xmode.asm | |
36 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aTMODE=1 | |
37 | |
38 xmode: xmode.asm | |
39 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aXMODE=1 | |
40 | |
41 pwd: pd.asm | |
42 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1 | |
43 | |
44 pxd: pd.asm | |
45 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1 | |
46 | |
47 shell: $(SHELLMODS) $(DEPENDS) | |
48 $(MERGE) $(SHELLMODS)>$@ | |
49 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
50 @ls -l $@ | |
51 @$(ECHO) "" | |
52 | |
53 utilpak1: $(UTILPAK1) $(DEPENDS) | |
54 $(MERGE) $(UTILPAK1)>$@ | |
55 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
56 @ls -l $@ | |
57 @$(ECHO) "" | |
58 | |
59 clean: | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
60 $(RM) shell utilpak1 $(SUBS) $(SHELLMODS) $(CMDS) $(CMDS_D2) |
2048 | 61 |
62 # Only $(CMDS) are shown here | |
63 showobjs: | |
64 @$(ECHO) shell utilpak1 $(CMDS) | |
65 | |
2105
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
66 showobjs_d2: |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
67 @$(ECHO) $(CMDS_D2) |
d5824ed9c767
Makefile now makes basic09/runb stuff, copies to disk 2 for 40TDS
boisy
parents:
2050
diff
changeset
|
68 |
2243
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
69 showobjs_dw: |
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
70 @$(ECHO) $(CMDS_DW) |
cacf283930e6
Fixed makefiles so that DriveWire commands only get copied to DriveWire bootable disks.
boisy
parents:
2242
diff
changeset
|
71 |
2048 | 72 identify: |
73 $(IDENT_SHORT) $(ALLOBJS) |