Mercurial > hg > Members > kono > nitros9-code
view 3rdparty/utils/dladd/makefile @ 2857:d5220b220313 lwtools-port
Makefiles: Use native cp for copying dsk images
The "os9 copy" is not able to do this on Cygwin,
and is not the right tool for the job anyway.
Thanks to Bob Devries for reporting this issue!
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 13 Jul 2013 11:53:36 +0200 |
parents | 84d284e812cd |
children | 84e92ab14cd5 |
line wrap: on
line source
include ../../../rules.mak DEPENDS := ./makefile CMDS = cls ALLOBJS = $(CMDS) DSKDLADDUTILS = dladd_utils.dsk DSKS = $(DSKDLADDUTILS) all: banner $(ALLOBJS) $(DEPENDS) banner: @$(ECHO) "**************************************************" @$(ECHO) "* *" @$(ECHO) "* David Ladd's Utilities *" @$(ECHO) "* *" @$(ECHO) "**************************************************" $(DSKDLADDUTILS): $(CMDS) $(RM) $@ $(OS9FORMAT) $@ $(MAKDIR) $@,CMDS $(OS9COPY) $(CMDS) $@,CMDS $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file)) dsk: all $(DSKS) dskcopy: dsk $(CP) $(DSKS) $(DSKDIR) clean: $(RM) $(ALLOBJS) $(DSKS) info: @echo "*** David Ladd's Utilities ***" @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)