view level1/tano/defs/makefile @ 2684:2a37d4530972 lwtools-port

Even more command line fixups for lwasm
author William Astle <lost@l-w.ca>
date Sun, 10 Jun 2012 18:38:22 -0600
parents b8c7b7fbf3c9
children 2bf46e4a7c27
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) -p $< > $@

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

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

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

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

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

clean:
	$(RM) $(DEFS)

showobjs:
	@$(ECHO) $(ALLOBJS)