view 3rdparty/utils/tlindner/makefile @ 3018:e7ffcda58117

Initial comming for my snakes demonstration and the sdir command. Snakes draws an animated snake in text and graphics windows. Sdir is used the display the directory on the CoCoSDC SD card.
author tlindner
date Thu, 27 Nov 2014 21:01:17 -0800
parents
children 9abe4d732538
line wrap: on
line source

include ../../../rules.mak

DEPENDS		= ./makefile

CMDS		= snake sdir

ALLOBJS		= $(CMDS)

DSKTLU		= tlindner_utils.dsk

DSKS		= $(DSKTLU)

all:	banner $(ALLOBJS) $(DEPENDS)	

banner:
	@$(ECHO) "**************************************************"
	@$(ECHO) "*                                                *"
	@$(ECHO) "*               tlindner utilities               *"
	@$(ECHO) "*                                                *"
	@$(ECHO) "**************************************************"

$(DSKTLU): $(CMDS)
	$(RM) $@
	$(OS9FORMAT) -q $@ -n"tindner utilities"
	$(MAKDIR) $@,CMDS
	$(OS9COPY) $(CMDS) $@,CMDS
	$(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))

dsk: all $(DSKS)

dskcopy: dsk
	$(CP) $(DSKS) $(DSKDIR)

dskclean:
	$(RM) $(DSKS)

clean: dskclean
	$(RM) $(ALLOBJS)

info:
	@echo "*** tlindner utilities ***"
	@$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)