view level2/coco3_6309/defs/makefile @ 2183:d29be35a48bb

makefiles updated, opcode for printing updated
author boisy
date Sun, 08 Mar 2009 22:28:45 +0000
parents cfb3a637a000
children b8c7b7fbf3c9
line wrap: on
line source

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

DEPENDS		= ./makefile

DEFOPTS		= -ls -x -z -aLevel=2 -aH6309=1
PERMDEFS	= Defsfile
DEFS		= OS9Defs RBFDefs SCFDefs SysType VTIODefs
ALLOBJS		= $(DEFS) $(PERMDEFS)

all:	$(ALLOBJS)

OS9Defs: $(DEFSDIR)/os9defs
	$(AS) $(AFLAGS) $(DEFOPTS) -aOS9DEFS=0 $< > $@

RBFDefs: $(DEFSDIR)/rbfdefs
	$(AS) $(AFLAGS) $(DEFOPTS) -aRBFDEFS=0 $< > $@

SCFDefs: $(DEFSDIR)/scfdefs
	$(AS) $(AFLAGS) $(DEFOPTS) -aSCFDEFS=0 $< > $@

SysType: $(DEFSDIR)/systype
	$(AS) $(AFLAGS) $(DEFOPTS) -aSYSTYPE=0 $< > $@

VTIODefs: $(DEFSDIR)/vtiodefs_cc3
	$(AS) $(AFLAGS) $(DEFOPTS) -aVTIODEFS=0 $< > $@

clean:
	$(RM) $(DEFS)

showobjs:
	@$(ECHO) $(ALLOBJS)