Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/utils/dasm/makefile @ 2856:84d284e812cd lwtools-port
Makefiles: Rename CP to OS9COPY
CP is normally reserved for the host native cp equivalent.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 13 Jul 2013 11:47:11 +0200 |
parents | 84d9d5765057 |
children | d5220b220313 |
rev | line source |
---|---|
1407 | 1 include ../../../rules.mak |
0 | 2 |
1407 | 3 DEPENDS = ./makefile |
0 | 4 |
5 CMDS = dasm | |
6 | |
7 ALLOBJS = $(CMDS) | |
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 | 13 all: banner $(ALLOBJS) $(DEPENDS) |
14 | |
15 banner: | |
1366 | 16 @$(ECHO) "**************************************************" |
17 @$(ECHO) "* *" | |
18 @$(ECHO) "* Collyer Disassembler *" | |
19 @$(ECHO) "* *" | |
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) $@ |
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
|
24 $(OS9FORMAT) $@ |
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 |
2856
84d284e812cd
Makefiles: Rename CP to OS9COPY
Tormod Volden <debian.tormod@gmail.com>
parents:
2849
diff
changeset
|
32 $(OS9COPY) $(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 |
0 | 34 clean: |
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
|
35 $(RM) $(ALLOBJS) $(DSKS) |
0 | 36 |
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 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
|
38 @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
|
39 @$(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
|
40 |
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 |