view level3/coco3_6309/defs/makefile @ 2916:56f26b87fa8a

Make level3 buildable again coco3: adapt to lwasm: change -a to -D and -i to -I rename scdwn* to scdwv take out missing freboot.asm, add fdebug.asm coco3_6309: added DW stuff from coco3 both: update defs files (like level2) coco3 and coco3_6309 are now almost identical (apart from the obvious -D6309) and should be factored out to avoid further bifurcation. However, there are some differences in bootfiles/makefile that someone should take a look at. The coco3 port does not currently build because of this.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 12 Jan 2014 12:45:56 +0100 (2014-01-12)
parents 28ed72477814
children 58e305f11375
line wrap: on
line source
PORT = coco3
include $(NITROS9DIR)/rules.mak

DEPENDS		= ./makefile

DEFOPTS		= --preprocess -DLevel=3
PERMDEFS	= Defsfile
DEFS		= os9.d rbf.d scf.d coco.d coco3vtio.d
ALLOBJS		= $(DEFS) $(PERMDEFS)

all:	$(ALLOBJS)

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

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

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

coco.d: $(DEFSDIR)/coco.d
	$(AS) $(AFLAGS) $(DEFOPTS) -DCOCO.D=0 $< > $@

coco3vtio.d: $(DEFSDIR)/cocovtio.d
	$(AS) $(AFLAGS) $(DEFOPTS) -DCOCOVTIO.D=0 $< > $@

clean:
	$(RM) $(DEFS)

showobjs:
	@$(ECHO) $(ALLOBJS)