view level1/atari/defs/makefile @ 2710:ab3a2531c000 lwtools-port

Fixed makefiles and assembly for ATARI port
author Boisy Pitre <boisy.pitre@nuance.com>
date Tue, 24 Jul 2012 10:00:38 -0500
parents 2bf46e4a7c27
children e76cc015cc03
line wrap: on
line source

PORT = atari
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)