view 3rdparty/packages/multivue/makefile @ 451:0334d0ce653a

Set proper dependencies for dsk target
author boisy
date Sun, 22 Sep 2002 23:31:16 +0000
parents fb1f7b0767ea
children 1fa3b4191290
line wrap: on
line source

include ../../../Makefile.rules

DISK	= multivue.dsk
CMDS	= $(shell $(CD) CMDS; make showobjs)
ICONS	= $(shell $(CD) CMDS/ICONS; make showobjs)
SYS	= $(shell $(CD) SYS; make showobjs)
DEMO	= $(shell $(CD) DEMO; make showobjs)

# Make all components
all:
	@$(ECHO) "*********************************************"
	@$(ECHO) "*                                           *"
	@$(ECHO) "*                 Multi-Vue                 *"
	@$(ECHO) "*                                           *"
	@$(ECHO) "*********************************************"
	$(CD) CMDS; make
	$(CD) SYS; make
	$(CD) DEMO; make

# Clean all components
clean:
	-$(CD) CMDS; make clean
	-$(CD) SYS; make clean
	-$(CD) DEMO; make clean
	-$(RM) $(DISK)

dsk: all
	$(RM) $(DISK)
	$(OS9FORMAT) $(DISK) -n"Multi-Vue"
	$(MAKDIR) $(DISK):CMDS
	$(MAKDIR) $(DISK):CMDS/ICONS
	$(MAKDIR) $(DISK):SYS
	$(MAKDIR) $(DISK):DEMO
	$(CD) CMDS; $(CP) $(CMDS) ../$(DISK):CMDS
	$(CD) CMDS/ICONS; $(CP) $(ICONS) ../../$(DISK):CMDS/ICONS
	$(CD) SYS; $(CP) $(SYS) ../$(DISK):SYS
	$(CD) DEMO; $(CP) $(DEMO) ../$(DISK):DEMO