Mercurial > hg > Members > kono > nitros9-code
annotate level2/cmds/makefile @ 217:3572dd193d9b
Slight change
author | boisy |
---|---|
date | Mon, 15 Jul 2002 22:39:53 +0000 |
parents | b17658d6f0e7 |
children | 586168970ced |
rev | line source |
---|---|
0 | 1 include ../../Makefile.rules |
2 | |
3 DEPENDS = ./Makefile | |
4 | |
5 CMDS = attr binex build cobbler copy date \ | |
6 deiniz del deldir ddir dir dirm display dmem dump echo exbin \ | |
7 free ident idir iniz link list load login makdir mdir \ | |
8 merge mfree mmap montype pmap proc procs pwd pxd rename save \ | |
9 setime shell_21 sleep swread swset tee tmode tsmon unlink \ | |
10 verify wcreate xmode | |
11 SUBS = gfx inkey | |
12 ALLOBJS = $(CMDS) $(SUBS) | |
13 | |
14 SHELLMODS = shell_21 build copy date deiniz del dir display echo iniz \ | |
15 link list load mdir merge mfree procs tmode unlink | |
16 UTILPAK1 = attr deldir dirm dmem free ident mmap proc rename setime tmode | |
17 UTILPAK2 = ddir idir pmap xmode | |
18 | |
214 | 19 LEVEL1FILES = binex.asm attr.asm build.asm date.asm deiniz.asm del.asm deldir.asm \ |
215
b17658d6f0e7
Commands/modules removed are now linked from level1/CMDS and level2/CMDS
boisy
parents:
214
diff
changeset
|
20 dump.asm echo.asm exbin.asm free.asm ident.asm iniz.asm inkey.asm link.asm \ |
217 | 21 list.asm load.asm login.asm pwd.asm pxd.asm rename.asm \ |
215
b17658d6f0e7
Commands/modules removed are now linked from level1/CMDS and level2/CMDS
boisy
parents:
214
diff
changeset
|
22 save.asm setime.asm sleep.asm tee.asm tmode.asm tsmon.asm verify.asm |
160 | 23 |
214 | 24 LEVEL2FILES = gfx.asm mdir.asm mfree.asm montype.asm procs.asm \ |
160 | 25 unlink.asm wcreate.asm |
26 | |
27 # Files not compilable by os9asm: Config attr cmp dcheck dir dsave | |
0 | 28 all: $(ALLOBJS) shell utilpak1 utilpak2 $(DEPENDS) |
29 $(CHMOD) a+rx $(ALLOBJS) shell utilpak1 utilpak2 | |
30 | |
31 shell: $(SHELLMODS) $(DEPENDS) | |
32 $(MERGE) $(SHELLMODS)>$@ | |
33 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
34 @ls -l $@ | |
35 @$(ECHO) | |
36 | |
37 utilpak1: $(UTILPAK1) $(DEPENDS) | |
38 $(MERGE) $(UTILPAK1)>$@ | |
39 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
40 @ls -l $@ | |
41 @$(ECHO) | |
42 | |
43 utilpak2: $(UTILPAK2) $(DEPENDS) | |
44 $(MERGE) $(UTILPAK2)>$@ | |
45 @$(ECHO) "*** Be sure the size of this file is less than 7681 bytes! ***" | |
46 @ls -l $@ | |
47 @$(ECHO) | |
48 | |
160 | 49 $(LEVEL1FILES): ../../level1/CMDS/$@ |
161
fed96c42e0b4
The files that are the same between level2 and level2v3 have been
roug
parents:
160
diff
changeset
|
50 -ln -s ../../level1/CMDS/$@ |
160 | 51 |
161
fed96c42e0b4
The files that are the same between level2 and level2v3 have been
roug
parents:
160
diff
changeset
|
52 $(LEVEL2FILES): ../../level2/CMDS/$@ |
fed96c42e0b4
The files that are the same between level2 and level2v3 have been
roug
parents:
160
diff
changeset
|
53 -ln -s ../../level2/CMDS/$@ |
0 | 54 clean: |
161
fed96c42e0b4
The files that are the same between level2 and level2v3 have been
roug
parents:
160
diff
changeset
|
55 $(RM) $(ALLOBJS) $(LEVEL1FILES) $(LEVEL2FILES) shell utilpak1 utilpak2 |
0 | 56 |
100 | 57 identify: |
58 $(IDENT_SHORT) $(ALLOBJS) |