Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/utils/boisy/makefile @ 3165:2d22d31bc74b
L2 kernel: Minor comment tweaks
author | Neal Crook <foofoobedoo@gmail.com> |
---|---|
date | Thu, 06 Apr 2017 22:51:54 +0100 |
parents | 32191c9fe2cd |
children | dd553bb32ebb |
rev | line source |
---|---|
0 | 1 # OS-9 Commands/Utilities |
2 # | |
3 | |
2890
1addfd8c9d5f
Revert e4a0f58a5f9b (set NITROS9DIR in makefiles)
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
4 include ../../../rules.mak |
0 | 5 |
1407 | 6 DEPENDS = ./makefile |
0 | 7 |
8 CMDS = bawk del grep mode send timer bigbro font makdir \ | |
375 | 9 more tee joypoll |
0 | 10 |
11 ALLOBJS = $(CMDS) | |
12 | |
2814
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
13 DSKBOISYUTILS = boisy_utils.dsk |
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
14 |
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
15 DSKS = $(DSKBOISYUTILS) |
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
16 |
1407 | 17 all: banner $(ALLOBJS) $(DEPENDS) |
18 | |
19 banner: | |
1366 | 20 @$(ECHO) "**************************************************" |
21 @$(ECHO) "* *" | |
22 @$(ECHO) "* Boisy Pitre's Utilities *" | |
23 @$(ECHO) "* *" | |
24 @$(ECHO) "**************************************************" | |
2814
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
25 |
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
26 $(DSKBOISYUTILS): $(CMDS) |
2835
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2814
diff
changeset
|
27 $(RM) $@ |
2988
ff1866e1d1a4
3rdparty/utils: Add labels to disk images
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
28 $(OS9FORMAT) -q $@ -n"Boisy's utilities" |
2814
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
29 $(MAKDIR) $@,CMDS |
2856
84d284e812cd
Makefiles: Rename CP to OS9COPY
Tormod Volden <debian.tormod@gmail.com>
parents:
2849
diff
changeset
|
30 $(OS9COPY) $(CMDS) $@,CMDS |
2849
84d9d5765057
Makefiles: Call OS9ATTR with multiple files (part 2/2)
Tormod Volden <debian.tormod@gmail.com>
parents:
2835
diff
changeset
|
31 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) |
2814
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
32 |
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
33 dsk: all $(DSKS) |
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
34 |
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
35 dskcopy: dsk |
2857
d5220b220313
Makefiles: Use native cp for copying dsk images
Tormod Volden <debian.tormod@gmail.com>
parents:
2856
diff
changeset
|
36 $(CP) $(DSKS) $(DSKDIR) |
2814
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
37 |
2896
84e92ab14cd5
3rdparty/utils: Add dskclean target to makefiles
Tormod Volden <debian.tormod@gmail.com>
parents:
2857
diff
changeset
|
38 dskclean: |
84e92ab14cd5
3rdparty/utils: Add dskclean target to makefiles
Tormod Volden <debian.tormod@gmail.com>
parents:
2857
diff
changeset
|
39 $(RM) $(DSKS) |
84e92ab14cd5
3rdparty/utils: Add dskclean target to makefiles
Tormod Volden <debian.tormod@gmail.com>
parents:
2857
diff
changeset
|
40 |
84e92ab14cd5
3rdparty/utils: Add dskclean target to makefiles
Tormod Volden <debian.tormod@gmail.com>
parents:
2857
diff
changeset
|
41 clean: dskclean |
0 | 42 $(RM) $(ALLOBJS) |
43 | |
2814
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
44 info: |
3072
32191c9fe2cd
makefiles: Always use ECHO macro define
Tormod Volden <debian.tormod@gmail.com>
parents:
2988
diff
changeset
|
45 @$(ECHO) "*** Boisy Pitre's Utilities ***" |
2814
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
46 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);) |
dd5499bc4bdd
Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents:
1407
diff
changeset
|
47 |