view level1/d64/defs/makefile @ 2694:2deaccd7ca43 lwtools-port

Fixed tano to depend on d64
author Boisy Pitre <boisy.pitre@nuance.com>
date Thu, 19 Jul 2012 14:18:08 -0500
parents 2bf46e4a7c27
children 28ed72477814
line wrap: on
line source

ifeq ($(PORT),)
        PORT=d64
endif
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)