view level1/dalpha/defs/makefile @ 2786:e333ec1907ef lwtools-port

Updated makefile(s) so correct coco1 dw boot and dwio.sb files are used. Updated level1/coco1/modules/makefile so that boot_dw_coco1 and dwio_coco1.sb get created. Updated level1/coco1/bootfiles/makefile added detection of PORT status so if coco1 is detected then dwio_coco1.sb and boot_dw_coco1 are used in place of dwio.sb and boot_dw.
author drencor-xeen
date Sun, 27 Jan 2013 00:14:03 -0600
parents 2bf46e4a7c27
children 28ed72477814
line wrap: on
line source

PORT = d64
include $(NITROS9DIR)/rules.mak

DEPENDS		= ./makefile

DEFOPTS		= --preprocess -DLevel=1
DEFSDIR		= ../../../defs
DEFS		= defsfile os9.d rbf.d scf.d dragon.d dragonvtio.d
ALLOBJS		= $(DEFS)

all:	$(ALLOBJS)

defsfile: defsfile.asm
	$(AS) $(DEFOPTS)  $< > $@

os9.d: $(DEFSDIR)/os9.d
	$(AS) $(DEFOPTS) -DOS9.D=0 $< > $@

rbf.d: $(DEFSDIR)/rbf.d
	$(AS) $(DEFOPTS) -DRBF.D=0 $< > $@

scf.d: $(DEFSDIR)/scf.d
	$(AS) $(DEFOPTS) -DSCF.D=0 $< > $@

dragon.d: $(DEFSDIR)/dragon.d
	$(AS) $(DEFOPTS) -DDRAGON.D=0 $< > $@

dragonvtio.d: $(DEFSDIR)/cocovtio.d
	$(AS) $(DEFOPTS) -DDRAGONVTIO.D=0 $< > $@

clean:
	$(RM) $(DEFS)

showobjs:
	@$(ECHO) $(ALLOBJS)