Mercurial > hg > Members > kono > nitros9-code
annotate level2/cmds/makefile @ 1766:2b34da8585c4
Fixed makefile error
author | boisy |
---|---|
date | Fri, 01 Apr 2005 17:21:19 +0000 |
parents | 6f066e2f3ee2 |
children | cb874dd5c8d6 |
rev | line source |
---|---|
1363 | 1 include ../../rules.mak |
0 | 2 |
1363 | 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 | 5 DEPENDS = ./makefile |
0 | 6 |
964 | 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 | 10 format free grfdrv help ident iniz irqs link list load login \ |
1528 | 11 makdir mdir megaread merge mfree mmap modpatch montype mpi os9gen padrom park \ |
1700 | 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 | 14 tsmon tuneport unlink verify wcreate xmode |
430 | 15 SUBS = gfx2 gfx inkey syscall |
0 | 16 |
833 | 17 SHELLMODS = shellplus date deiniz echo iniz link load save unlink |
1167 | 18 UTILPAK1 = attr build copy del deldir dir display list makdir mdir \ |
1592 | 19 merge mfree procs rename tmode |
0 | 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 | 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 | 29 |
1699 | 30 tmode: xmode.asm |
31 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aTMODE=1 | |
32 | |
1680 | 33 xmode: xmode.asm |
34 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aXMODE=1 | |
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 | 42 shell: $(SHELLMODS) $(DEPENDS) |
43 $(MERGE) $(SHELLMODS)>$@ | |
44 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
45 @ls -l $@ | |
560 | 46 @$(ECHO) "" |
0 | 47 |
48 utilpak1: $(UTILPAK1) $(DEPENDS) | |
49 $(MERGE) $(UTILPAK1)>$@ | |
50 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
51 @ls -l $@ | |
560 | 52 @$(ECHO) "" |
0 | 53 |
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 | 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 | 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 | 60 |
100 | 61 identify: |
62 $(IDENT_SHORT) $(ALLOBJS) |