view level1/atari/defs/makefile @ 2685:2bf46e4a7c27 lwtools-port

Even more command line fixups for lwasm
author William Astle <lost@l-w.ca>
date Sun, 10 Jun 2012 18:44:48 -0600
parents 2a37d4530972
children ab3a2531c000
line wrap: on
line source

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

DEPENDS		= ./makefile

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

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

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

clean:
	$(RM) $(DEFS)

showobjs:
	@$(ECHO) $(ALLOBJS)