comparison 3rdparty/utils/dasm/makefile @ 2814:dd5499bc4bdd lwtools-port

Updated makefile(s) to create disk images and info for 3rdparty/utils/ Updated makefile(s) for boisy/, dasm/, dladd/, smartwatch/, supercomm/, & winfo/ that are located in the 3rdparty/utils/ area. The update includes creating a disk image for each with those commands in them. Also added a info section to each of those makefile(s) and the makefile in 3rdparty/utils/ as that makefile did not have a info section.
author David Ladd <drencor-xeen@users.sf.net>
date Tue, 12 Feb 2013 13:50:55 -0600
parents 174d263c0995
children c1892376e7a7
comparison
equal deleted inserted replaced
2813:b8445469ab90 2814:dd5499bc4bdd
3 DEPENDS = ./makefile 3 DEPENDS = ./makefile
4 4
5 CMDS = dasm 5 CMDS = dasm
6 6
7 ALLOBJS = $(CMDS) 7 ALLOBJS = $(CMDS)
8
9 DSKDASM = dasm.dsk
10
11 DSKS = $(DSKDASM)
8 12
9 all: banner $(ALLOBJS) $(DEPENDS) 13 all: banner $(ALLOBJS) $(DEPENDS)
10 14
11 banner: 15 banner:
12 @$(ECHO) "**************************************************" 16 @$(ECHO) "**************************************************"
13 @$(ECHO) "* *" 17 @$(ECHO) "* *"
14 @$(ECHO) "* Collyer Disassembler *" 18 @$(ECHO) "* Collyer Disassembler *"
15 @$(ECHO) "* *" 19 @$(ECHO) "* *"
16 @$(ECHO) "**************************************************" 20 @$(ECHO) "**************************************************"
17 21
22 $(DSKDASM): $(CMDS)
23 -$(RM) $@
24 $(OS9FORMAT) $@
25 $(MAKDIR) $@,CMDS
26 $(CP) $(CMDS) $@,CMDS
27 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
28
29 dsk: all $(DSKS)
30
31 dskcopy: dsk
32 $(CP) $(DSKS) $(DSKDIR)
33
18 clean: 34 clean:
19 $(RM) $(ALLOBJS) 35 $(RM) $(ALLOBJS) $(DSKS)
20 36
37 info:
38 @echo "*** Collyer Disassembler ***"
39 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)
40
41