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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2351
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
1 PORT = coco3
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
2 include $(NITROS9DIR)/rules.mak
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
3
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
4 vpath %.asm $(LEVEL3)/cmds:$(LEVEL2)/cmds:$(LEVEL1)/cmds:$(NITROS9DIR)/3rdparty/packages/basic09
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
5
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
6 DEPENDS = ./makefile
2829
ed9a4cb85fb3 Fixed makefiles and defsfile for level 3
boisy
parents: 2351
diff changeset
7 AFLAGS += -DH6309=1 -I=$(NITROS9DIR)/3rdparty/packages/basic09
2351
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
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
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
10 date dcheck debug ded deiniz del deldir devs dir dirsort disasm \
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
11 display dmem dmode dsave dump echo edit error exbin \
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
12 format free grfdrv help ident iniz irqs link list load login \
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
13 makdir mdir megaread merge mfree mmap modpatch montype mpi os9gen padrom park \
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
14 pmap proc procs prompt pwd pxd reboot rename save setime \
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
15 shell_21 sleep smap sfree tee tmode touch tsmon tuneport unlink verify wcreate xmode
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
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
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
19
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
20 SHELLMODS = shellplus date deiniz echo iniz link load save unlink
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
21 UTILPAK1 = attr build copy del deldir dir display list makdir mdir \
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
22 merge mfree procs rename tmode
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
23
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
24 # Files not compilable by os9asm: config
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
25 all: $(CMDS) $(CMDS_D2) shell utilpak1 $(DEPENDS)
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
26
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
27 runb: runb.asm
2829
ed9a4cb85fb3 Fixed makefiles and defsfile for level 3
boisy
parents: 2351
diff changeset
28 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPWD=1
2351
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
29 $(MERGE) $@ $(SUBS)>$@.tmp
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
30 $(RM) $@
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
31 $(MOVE) $@.tmp $@
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
32
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
33 tmode: xmode.asm
2829
ed9a4cb85fb3 Fixed makefiles and defsfile for level 3
boisy
parents: 2351
diff changeset
34 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DTMODE=1
2351
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
35
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
36 xmode: xmode.asm
2829
ed9a4cb85fb3 Fixed makefiles and defsfile for level 3
boisy
parents: 2351
diff changeset
37 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DXMODE=1
2351
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
38
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
39 pwd: pd.asm
2829
ed9a4cb85fb3 Fixed makefiles and defsfile for level 3
boisy
parents: 2351
diff changeset
40 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPWD=1
2351
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
41
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
42 pxd: pd.asm
2829
ed9a4cb85fb3 Fixed makefiles and defsfile for level 3
boisy
parents: 2351
diff changeset
43 $(AS) $(AFLAGS) $< $(ASOUT)$@ -DPXD=1
2351
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
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
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
46 $(MERGE) $(SHELLMODS)>$@
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
47 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
48 @ls -l $@
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
49 @$(ECHO) ""
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
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
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
56
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
57 clean:
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
58 $(RM) shell utilpak1 $(SUBS) $(SHELLMODS) $(CMDS) $(CMDS_D2)
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
59
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
60 # Only $(CMDS) are shown here
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
61 showobjs:
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
62 @$(ECHO) shell utilpak1 $(CMDS)
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
63
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
64 showobjs_d2:
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
65 @$(ECHO) $(CMDS_D2)
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
66
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
67 identify:
87b07a1be8a0 Updated and added coco3_6309
boisy
parents:
diff changeset
68 $(IDENT_SHORT) $(ALLOBJS)