Mercurial > hg > Members > kono > nitros9-code
annotate level3/coco3_6309/cmds/makefile @ 3001:8e1891c6cc4a
level3 makefiles: Lots of whitespace fixes, no code changes
author | Gene Heskett <gheskett@wdtv.com> |
---|---|
date | Sun, 26 Oct 2014 12:41:21 +0100 |
parents | 28ed72477814 |
children | ba5504f3bd5a |
rev | line source |
---|---|
2351 | 1 PORT = coco3 |
2 include $(NITROS9DIR)/rules.mak | |
3 | |
4 vpath %.asm $(LEVEL3)/cmds:$(LEVEL2)/cmds:$(LEVEL1)/cmds:$(NITROS9DIR)/3rdparty/packages/basic09 | |
5 | |
6 DEPENDS = ./makefile | |
2829 | 7 AFLAGS += -DH6309=1 -I=$(NITROS9DIR)/3rdparty/packages/basic09 |
2351 | 8 |
3001
8e1891c6cc4a
level3 makefiles: Lots of whitespace fixes, no code changes
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
9 CMDS = asm attr backup binex build cmp cobbler copy cputype \ |
2351 | 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 \ | |
14 pmap proc procs prompt pwd pxd reboot rename save setime \ | |
15 shell_21 sleep smap sfree tee tmode touch tsmon tuneport unlink verify wcreate xmode | |
16 | |
3001
8e1891c6cc4a
level3 makefiles: Lots of whitespace fixes, no code changes
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
17 CMDS_D2 = basic09 runb gfx2 gfx inkey syscall copy del echo format \ |
8e1891c6cc4a
level3 makefiles: Lots of whitespace fixes, no code changes
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
18 merge os9gen prompt tmode |
2351 | 19 |
20 SHELLMODS = shellplus date deiniz echo iniz link load save unlink | |
21 UTILPAK1 = attr build copy del deldir dir display list makdir mdir \ | |
22 merge mfree procs rename tmode | |
23 | |
24 # Files not compilable by os9asm: config | |
25 all: $(CMDS) $(CMDS_D2) shell utilpak1 $(DEPENDS) | |
26 | |
27 runb: runb.asm | |
2829 | 28 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPWD=1 |
2351 | 29 $(MERGE) $@ $(SUBS)>$@.tmp |
30 $(RM) $@ | |
31 $(MOVE) $@.tmp $@ | |
32 | |
33 tmode: xmode.asm | |
2829 | 34 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DTMODE=1 |
2351 | 35 |
36 xmode: xmode.asm | |
2829 | 37 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DXMODE=1 |
2351 | 38 |
39 pwd: pd.asm | |
2829 | 40 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPWD=1 |
2351 | 41 |
42 pxd: pd.asm | |
2829 | 43 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPXD=1 |
2351 | 44 |
3001
8e1891c6cc4a
level3 makefiles: Lots of whitespace fixes, no code changes
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
45 shell: $(SHELLMODS) $(DEPENDS) |
2351 | 46 $(MERGE) $(SHELLMODS)>$@ |
47 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
48 @ls -l $@ | |
49 @$(ECHO) "" | |
50 | |
3001
8e1891c6cc4a
level3 makefiles: Lots of whitespace fixes, no code changes
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
51 utilpak1: $(UTILPAK1) $(DEPENDS) |
8e1891c6cc4a
level3 makefiles: Lots of whitespace fixes, no code changes
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
52 $(MERGE) $(UTILPAK1)>$@ |
8e1891c6cc4a
level3 makefiles: Lots of whitespace fixes, no code changes
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
53 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" |
8e1891c6cc4a
level3 makefiles: Lots of whitespace fixes, no code changes
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
54 @ls -l $@ |
8e1891c6cc4a
level3 makefiles: Lots of whitespace fixes, no code changes
Gene Heskett <gheskett@wdtv.com>
parents:
2898
diff
changeset
|
55 @$(ECHO) "" |
2351 | 56 |
57 clean: | |
58 $(RM) shell utilpak1 $(SUBS) $(SHELLMODS) $(CMDS) $(CMDS_D2) | |
59 | |
60 # Only $(CMDS) are shown here | |
61 showobjs: | |
62 @$(ECHO) shell utilpak1 $(CMDS) | |
63 | |
64 showobjs_d2: | |
65 @$(ECHO) $(CMDS_D2) | |
66 | |
67 identify: | |
68 $(IDENT_SHORT) $(ALLOBJS) |