view level1/atari/defs/makefile @ 2868:cfa46960b6bd

makefiles: Rename DW3 to DW all over Rename dw3*.sb to dwio*.sb This is part of getting default and lwtools-port branches together, trying to avoid things falling through the cracks.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 24 Nov 2013 11:13:40 +0100
parents e4a0f58a5f9b
children 1addfd8c9d5f
line wrap: on
line source

PORT = coco
ifndef  NITROS9DIR
NITROS9DIR      = $(HOME)/nitros9
endif
include $(NITROS9DIR)/rules.mak

DEPENDS		= ./makefile

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

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

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

clean:
	$(RM) $(DEFS)

showobjs:
	@$(ECHO) $(ALLOBJS)