view 3rdparty/utils/tlindner/makefile @ 3129:ce9f4ff0a380

l1 rel.asm: Do the module padding in a more portable way Add comments to describe what's happening and why.
author Neal Crook <foofoobedoo@gmail.com>
date Wed, 30 Nov 2016 22:10:56 +0000
parents 32191c9fe2cd
children dd553bb32ebb
line wrap: on
line source

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

DEPENDS		= ./makefile

CMDS		= snake sdir sdrive

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"tlindner 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);)