annotate level2/cmds/makefile @ 1766:2b34da8585c4

Fixed makefile error
author boisy
date Fri, 01 Apr 2005 17:21:19 +0000
parents 6f066e2f3ee2
children cb874dd5c8d6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1333
diff changeset
1 include ../../rules.mak
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1333
diff changeset
3 vpath %.asm $(6809L1)/cmds:$(3RDPARTY)/packages/basic09
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 1010
diff changeset
4
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1333
diff changeset
5 DEPENDS = ./makefile
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6
964
4f56e6891d94 Added new commands to standard CMDS toolset
boisy
parents: 858
diff changeset
7 CMDS = asm attr backup binex build cmp cobbler copy cputype \
1654
f62ca34d4419 Level 2: shellplus stand-alone file is no longer copied to CMDS
boisy
parents: 1592
diff changeset
8 date dcheck debug ded deiniz del deldir devs dir disasm \
1656
5b5390b7333a exmode replaces xmode as the ideal utility. makefiles and help updated accordingly
boisy
parents: 1654
diff changeset
9 display dmem dmode dsave dump echo edit error exbin \
965
53553cdc265c New commands added to standard CMDS
boisy
parents: 964
diff changeset
10 format free grfdrv help ident iniz irqs link list load login \
1528
1c5a50add566 Megaread added
boisy
parents: 1523
diff changeset
11 makdir mdir megaread merge mfree mmap modpatch montype mpi os9gen padrom park \
1700
6f066e2f3ee2 Final changes for V03.02.04 release
boisy
parents: 1699
diff changeset
12 pmap proc procs prompt pwd pxd reboot rename runb save setime \
1682
e2ac12787e55 Sticking with clock2_smart for now. Also moved Robert's swread and swset to 3rdparty/utils
boisy
parents: 1680
diff changeset
13 shell_21 sleep smap tee tmode touch \
1010
1027549ee381 Added tuneport
boisy
parents: 969
diff changeset
14 tsmon tuneport unlink verify wcreate xmode
430
a71313ae3643 syscall pulled from level1
boisy
parents: 421
diff changeset
15 SUBS = gfx2 gfx inkey syscall
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16
833
143b6d58d434 shellplus and utilpak1 changed
boisy
parents: 786
diff changeset
17 SHELLMODS = shellplus date deiniz echo iniz link load save unlink
1167
a3d0ac951684 Miscellaneous source improvements
boisy
parents: 1129
diff changeset
18 UTILPAK1 = attr build copy del deldir dir display list makdir mdir \
1592
ad9f45622a19 comment updates
boisy
parents: 1528
diff changeset
19 merge mfree procs rename tmode
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20
1654
f62ca34d4419 Level 2: shellplus stand-alone file is no longer copied to CMDS
boisy
parents: 1592
diff changeset
21 # Files not compilable by os9asm: config
f62ca34d4419 Level 2: shellplus stand-alone file is no longer copied to CMDS
boisy
parents: 1592
diff changeset
22 all: $(SUBS) $(CMDS) shell utilpak1 $(DEPENDS)
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
23
1654
f62ca34d4419 Level 2: shellplus stand-alone file is no longer copied to CMDS
boisy
parents: 1592
diff changeset
24 runb: runb.asm
f62ca34d4419 Level 2: shellplus stand-alone file is no longer copied to CMDS
boisy
parents: 1592
diff changeset
25 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1
f62ca34d4419 Level 2: shellplus stand-alone file is no longer copied to CMDS
boisy
parents: 1592
diff changeset
26 $(MERGE) $@ $(SUBS)>$@.tmp
f62ca34d4419 Level 2: shellplus stand-alone file is no longer copied to CMDS
boisy
parents: 1592
diff changeset
27 $(RM) $@
f62ca34d4419 Level 2: shellplus stand-alone file is no longer copied to CMDS
boisy
parents: 1592
diff changeset
28 $(MOVE) $@.tmp $@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29
1699
0ec4d6e34fcc Added xmode (forgot for 6309) in makefile
boisy
parents: 1682
diff changeset
30 tmode: xmode.asm
0ec4d6e34fcc Added xmode (forgot for 6309) in makefile
boisy
parents: 1682
diff changeset
31 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aTMODE=1
0ec4d6e34fcc Added xmode (forgot for 6309) in makefile
boisy
parents: 1682
diff changeset
32
1680
ecee7c187285 made changes based on swread
boisy
parents: 1673
diff changeset
33 xmode: xmode.asm
ecee7c187285 made changes based on swread
boisy
parents: 1673
diff changeset
34 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aXMODE=1
ecee7c187285 made changes based on swread
boisy
parents: 1673
diff changeset
35
690
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
36 pwd: pd.asm
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
37 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
38
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
39 pxd: pd.asm
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
40 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1
7b42af4e85c2 Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents: 663
diff changeset
41
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 shell: $(SHELLMODS) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 $(MERGE) $(SHELLMODS)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 @ls -l $@
560
417c5329cba2 Added "" to blank ECHO
boisy
parents: 539
diff changeset
46 @$(ECHO) ""
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 utilpak1: $(UTILPAK1) $(DEPENDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 $(MERGE) $(UTILPAK1)>$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***"
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 @ls -l $@
560
417c5329cba2 Added "" to blank ECHO
boisy
parents: 539
diff changeset
52 @$(ECHO) ""
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 clean:
1654
f62ca34d4419 Level 2: shellplus stand-alone file is no longer copied to CMDS
boisy
parents: 1592
diff changeset
55 $(RM) shell utilpak1 $(SUBS) $(SHELLMODS) $(CMDS)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56
1654
f62ca34d4419 Level 2: shellplus stand-alone file is no longer copied to CMDS
boisy
parents: 1592
diff changeset
57 # Only $(CMDS) are shown here
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
58 showobjs:
1654
f62ca34d4419 Level 2: shellplus stand-alone file is no longer copied to CMDS
boisy
parents: 1592
diff changeset
59 @$(ECHO) shell utilpak1 $(CMDS)
341
20944721d3e6 Major makefile mods
boisy
parents: 340
diff changeset
60
100
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
61 identify:
5679e0d70acf Added identify target
boisy
parents: 0
diff changeset
62 $(IDENT_SHORT) $(ALLOBJS)