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