Mercurial > hg > Members > kono > nitros9-code
annotate level2/cmds/makefile @ 1167:a3d0ac951684
Miscellaneous source improvements
author | boisy |
---|---|
date | Mon, 19 May 2003 11:10:57 +0000 |
parents | c847e6ee341d |
children | 701f6a80163f |
rev | line source |
---|---|
1167 | 1 # Makefile for OS-9 Level Two CMDS/ |
2 | |
0 | 3 include ../../Makefile.rules |
4 | |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
1010
diff
changeset
|
5 vpath %.asm $(LEVEL1)/CMDS:$(3RDPARTY)/packages/basic09 |
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
1010
diff
changeset
|
6 |
0 | 7 DEPENDS = ./Makefile |
8 | |
964 | 9 CMDS = asm attr backup binex build cmp cobbler copy cputype \ |
969 | 10 date dcheck debug ded deiniz del deldir devs dir dirm disasm \ |
965 | 11 display dmem dmode dsave dump echo edit error exbin exmode \ |
12 format free grfdrv help ident iniz irqs link list load login \ | |
966 | 13 makdir mdir merge mfree mmap modpatch montype os9gen pmap \ |
14 proc procs pwd pxd reboot rename runb save setime shell_21 \ | |
965 | 15 shellplus sleep smap tee tmode touch \ |
1010 | 16 tsmon tuneport unlink verify wcreate xmode |
430 | 17 SUBS = gfx2 gfx inkey syscall |
0 | 18 |
833 | 19 SHELLMODS = shellplus date deiniz echo iniz link load save unlink |
1167 | 20 UTILPAK1 = attr build copy del deldir dir display list makdir mdir \ |
21 merge mfree procs rename sleep tee tmode | |
0 | 22 |
341 | 23 ALLOBJS = $(CMDS) $(SUBS) |
24 | |
335
9edb1a203a78
Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
328
diff
changeset
|
25 # Files not compilable by os9asm: config |
220
7fed7dcadaee
Moved smartwatch commands to 3rdparty/utils/smartwatch
boisy
parents:
219
diff
changeset
|
26 all: $(ALLOBJS) shell utilpak1 $(DEPENDS) |
0 | 27 |
690
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
28 pwd: pd.asm |
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
29 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPWD=1 |
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
30 |
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
31 pxd: pd.asm |
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
32 $(AS) $(AFLAGS) $< $(ASOUT)$@ -aPXD=1 |
7b42af4e85c2
Modified due to folding of pxd.asm and pwd.asm into pd.asm
boisy
parents:
663
diff
changeset
|
33 |
0 | 34 shell: $(SHELLMODS) $(DEPENDS) |
35 $(MERGE) $(SHELLMODS)>$@ | |
36 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
37 @ls -l $@ | |
560 | 38 @$(ECHO) "" |
0 | 39 |
40 utilpak1: $(UTILPAK1) $(DEPENDS) | |
41 $(MERGE) $(UTILPAK1)>$@ | |
42 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
43 @ls -l $@ | |
560 | 44 @$(ECHO) "" |
0 | 45 |
46 clean: | |
1119
f86ef3d1d7c9
Makefiles have been redone to take advantage of size and Make features
boisy
parents:
1010
diff
changeset
|
47 $(RM) shell utilpak1 $(ALLOBJS) |
0 | 48 |
341 | 49 showobjs: |
431 | 50 @$(ECHO) shell utilpak1 $(ALLOBJS) |
341 | 51 |
100 | 52 identify: |
53 $(IDENT_SHORT) $(ALLOBJS) |