view level1/coco/defs/makefile @ 2890:1addfd8c9d5f

Revert e4a0f58a5f9b (set NITROS9DIR in makefiles) This was not done in lwtools-port and makes it more difficult to compare the trees. Therefore revert it for now. I will reapply or do it in another way later.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 24 Nov 2013 23:13:46 +0100
parents e4a0f58a5f9b
children
line wrap: on
line source

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

DEPENDS		= ./makefile

DEFOPTS		= -ls -x -z -aLevel=1
DEFSDIR		= ../../../defs
DEFS		= defsfile os9.d rbf.d scf.d coco.d cocovtio.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 $< > $@

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

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

clean:
	$(RM) $(DEFS)

showobjs:
	@$(ECHO) $(ALLOBJS)