view 3rdparty/packages/koronis/makefile @ 787:4b3bdd4a1ff4

Added install2dd
author boisy
date Sun, 12 Jan 2003 16:12:47 +0000
parents 9eff1f89da99
children 703919904b7f
line wrap: on
line source

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

DEPENDS		= ./Makefile

DISK		= koronis.dsk
CMDS		= koronis
MD		= $(LEVEL2)/MODULES

# We make our own bootfile and kernel track
KERNEL		= $(MD)/rel $(MD)/boot_1773 $(MD)/os9p1
OS9BOOT		= $(MD)/os9p2 $(MD)/ioman $(MD)/init \
		$(MD)/rbf.mn \
		$(MD)/cc3disk.dr $(MD)/ddd0_40d.dd \
		$(MD)/scf.mn $(MD)/cc3io.dr \
		$(MD)/keydrv $(MD)/joydrv_joy $(MD)/snddrv \
		$(MD)/vdgint_small.io $(MD)/term_vdg.dt \
		$(MD)/clock_soft $(MD)/cc3go

SUPPORTFILES	= SAVE1 SAVE2 crobot2.c ctitle.c korvar \
		level01 level02 level03 level04 level05 level06 level07 \
		level08 level09 level10 level11 level12 level13 level14 \
		level15 level16 level17 level18 level19 level20 \
		robotbuff sinwave ultek

SCRIPTFILES	= install2dd

ALLOBJS		= $(CMDS)

all:	$(ALLOBJS)
	$(CHMOD) 755 $(CMDS)

clean:	dskclean
	$(RM) $(ALLOBJS)
	$(OS92UNIX) $(SCRIPTFILES)

dsk:	all
	$(RM) $(DISK)
	$(CD) $(LEVEL2); make
	$(OS9FORMAT) $(DISK) -n"Koronis Rift"
	$(MERGE) $(OS9BOOT)>os9boot
	$(MERGE) $(KERNEL)>kernel_1773
	$(OS9GEN) $(DISK) os9boot kernel_1773
	$(RM) os9boot kernel_1773
	$(MAKDIR) $(DISK),CMDS
	$(CP) $(LEVEL2)/CMDS/shell_21 $(DISK),CMDS/shell
	$(CP) $(CMDS) $(DISK),CMDS
	$(OS9RENAME) $(DISK),CMDS/koronis AutoEx
	$(CP) $(SUPPORTFILES) $(DISK),.
	$(UNIX2OS9) $(SCRIPTFILES)
	$(CP) $(SCRIPTFILES) $(DISK),.

dskclean:
	$(RM) $(DISK)