view 3rdparty/utils/boisy/makefile @ 3165:2d22d31bc74b

L2 kernel: Minor comment tweaks
author Neal Crook <foofoobedoo@gmail.com>
date Thu, 06 Apr 2017 22:51:54 +0100
parents 32191c9fe2cd
children dd553bb32ebb
line wrap: on
line source

# OS-9 Commands/Utilities
#

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

DEPENDS		= ./makefile

CMDS		= bawk del grep mode send timer bigbro font makdir \
		more tee joypoll

ALLOBJS		= $(CMDS)

DSKBOISYUTILS	= boisy_utils.dsk

DSKS		= $(DSKBOISYUTILS)

all:	banner $(ALLOBJS) $(DEPENDS)	

banner:
	@$(ECHO) "**************************************************"
	@$(ECHO) "*                                                *"
	@$(ECHO) "*             Boisy Pitre's Utilities            *"
	@$(ECHO) "*                                                *"
	@$(ECHO) "**************************************************"

$(DSKBOISYUTILS): $(CMDS)
	$(RM) $@
	$(OS9FORMAT) -q $@ -n"Boisy's 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) "*** Boisy Pitre's Utilities ***"
	@$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)