Mercurial > hg > Members > kono > nitros9-code
annotate level2/cmds/makefile @ 341:20944721d3e6
Major makefile mods
author | boisy |
---|---|
date | Wed, 24 Jul 2002 14:34:24 +0000 |
parents | 2c95b3e0ffc8 |
children | 1fdd80bc3f91 |
rev | line source |
---|---|
0 | 1 include ../../Makefile.rules |
2 | |
3 DEPENDS = ./Makefile | |
4 | |
327 | 5 CMDS = attr binex build cmp cobbler copy date \ |
6 deiniz del deldir dir display dump echo error exbin \ | |
340 | 7 free grfdrv help ident iniz link list load login makdir mdir \ |
219
f213b599d6e2
Moved ddir, dirm, dmem, idir, mmap, pmap, proc to 3rdparty/utils/kdutils
boisy
parents:
218
diff
changeset
|
8 merge mfree montype procs pwd pxd rename save \ |
220
7fed7dcadaee
Moved smartwatch commands to 3rdparty/utils/smartwatch
boisy
parents:
219
diff
changeset
|
9 setime shell_21 sleep tee tmode tsmon unlink \ |
0 | 10 verify wcreate xmode |
321 | 11 SUBS = gfx2 gfx inkey |
0 | 12 |
13 SHELLMODS = shell_21 build copy date deiniz del dir display echo iniz \ | |
14 link list load mdir merge mfree procs tmode unlink | |
220
7fed7dcadaee
Moved smartwatch commands to 3rdparty/utils/smartwatch
boisy
parents:
219
diff
changeset
|
15 UTILPAK1 = attr deldir ident rename setime xmode |
0 | 16 |
328
2e7d4518cb8b
Fixed so all commands come from either level1/CMDS or level2/CMDS
boisy
parents:
327
diff
changeset
|
17 LEVEL1FILES = binex.asm attr.asm build.asm cmp.asm cobbler.asm copy.asm date.asm deiniz.asm del.asm deldir.asm \ |
2e7d4518cb8b
Fixed so all commands come from either level1/CMDS or level2/CMDS
boisy
parents:
327
diff
changeset
|
18 dir.asm display.asm dump.asm echo.asm error.asm exbin.asm free.asm gfx.asm help.asm ident.asm iniz.asm inkey.asm link.asm \ |
2e7d4518cb8b
Fixed so all commands come from either level1/CMDS or level2/CMDS
boisy
parents:
327
diff
changeset
|
19 list.asm load.asm login.asm makdir.asm merge.asm os9gen.asm pwd.asm pxd.asm rename.asm \ |
2e7d4518cb8b
Fixed so all commands come from either level1/CMDS or level2/CMDS
boisy
parents:
327
diff
changeset
|
20 save.asm setime.asm sleep.asm tee.asm tmode.asm tuneport.asm tsmon.asm verify.asm xmode.asm |
160 | 21 |
341 | 22 ALLOBJS = $(CMDS) $(SUBS) |
23 | |
335
9edb1a203a78
Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
328
diff
changeset
|
24 # Files not compilable by os9asm: config |
220
7fed7dcadaee
Moved smartwatch commands to 3rdparty/utils/smartwatch
boisy
parents:
219
diff
changeset
|
25 all: $(ALLOBJS) shell utilpak1 $(DEPENDS) |
341 | 26 $(CHMOD) 755 $(ALLOBJS) shell utilpak1 |
0 | 27 |
28 shell: $(SHELLMODS) $(DEPENDS) | |
29 $(MERGE) $(SHELLMODS)>$@ | |
30 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
31 @ls -l $@ | |
32 @$(ECHO) | |
33 | |
34 utilpak1: $(UTILPAK1) $(DEPENDS) | |
35 $(MERGE) $(UTILPAK1)>$@ | |
36 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
37 @ls -l $@ | |
38 @$(ECHO) | |
39 | |
160 | 40 $(LEVEL1FILES): ../../level1/CMDS/$@ |
335
9edb1a203a78
Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
328
diff
changeset
|
41 -$(SOFTLINK) ../../level1/CMDS/$@ |
160 | 42 |
0 | 43 clean: |
335
9edb1a203a78
Moved level2/CMDS to here, as level2 will be deprecated
boisy
parents:
328
diff
changeset
|
44 $(RM) $(ALLOBJS) $(LEVEL1FILES) shell utilpak1 |
0 | 45 |
341 | 46 showobjs: |
47 @$(ECHO) $(ALLOBJS) shell utilpak1 | |
48 | |
100 | 49 identify: |
50 $(IDENT_SHORT) $(ALLOBJS) |