annotate 3rdparty/utils/dasm/makefile @ 2988:ff1866e1d1a4

3rdparty/utils: Add labels to disk images
author Tormod Volden <debian.tormod@gmail.com>
date Sat, 12 Apr 2014 23:11:17 +0200
parents 28ed72477814
children 32191c9fe2cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2890
1addfd8c9d5f Revert e4a0f58a5f9b (set NITROS9DIR in makefiles)
Tormod Volden <debian.tormod@gmail.com>
parents: 2758
diff changeset
1 include ../../../rules.mak
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2
1407
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1366
diff changeset
3 DEPENDS = ./makefile
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5 CMDS = dasm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7 ALLOBJS = $(CMDS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8
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
9 DSKDASM = dasm.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
10
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
11 DSKS = $(DSKDASM)
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
12
1407
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1366
diff changeset
13 all: banner $(ALLOBJS) $(DEPENDS)
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1366
diff changeset
14
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1366
diff changeset
15 banner:
1366
770c350f4c15 More changes
boisy
parents: 0
diff changeset
16 @$(ECHO) "**************************************************"
770c350f4c15 More changes
boisy
parents: 0
diff changeset
17 @$(ECHO) "* *"
770c350f4c15 More changes
boisy
parents: 0
diff changeset
18 @$(ECHO) "* Collyer Disassembler *"
770c350f4c15 More changes
boisy
parents: 0
diff changeset
19 @$(ECHO) "* *"
770c350f4c15 More changes
boisy
parents: 0
diff changeset
20 @$(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
21
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
22 $(DSKDASM): $(CMDS)
2835
c1892376e7a7 Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents: 2814
diff changeset
23 $(RM) $@
2988
ff1866e1d1a4 3rdparty/utils: Add labels to disk images
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
24 $(OS9FORMAT) -q $@ -n"Collyer Disassembler"
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 $(MAKDIR) $@,CMDS
2856
84d284e812cd Makefiles: Rename CP to OS9COPY
Tormod Volden <debian.tormod@gmail.com>
parents: 2849
diff changeset
26 $(OS9COPY) $(CMDS) $@,CMDS
2849
84d9d5765057 Makefiles: Call OS9ATTR with multiple files (part 2/2)
Tormod Volden <debian.tormod@gmail.com>
parents: 2835
diff changeset
27 $(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
28
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 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
30
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
31 dskcopy: dsk
2857
d5220b220313 Makefiles: Use native cp for copying dsk images
Tormod Volden <debian.tormod@gmail.com>
parents: 2856
diff changeset
32 $(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
33
2896
84e92ab14cd5 3rdparty/utils: Add dskclean target to makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2857
diff changeset
34 dskclean:
84e92ab14cd5 3rdparty/utils: Add dskclean target to makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2857
diff changeset
35 $(RM) $(DSKS)
84e92ab14cd5 3rdparty/utils: Add dskclean target to makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2857
diff changeset
36
84e92ab14cd5 3rdparty/utils: Add dskclean target to makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2857
diff changeset
37 clean: dskclean
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 $(RM) $(ALLOBJS)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39
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
40 info:
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
41 @echo "*** Collyer Disassembler ***"
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
42 @$(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
43
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