view level1/atari/modules/kernel/makefile @ 2617:b1145d2cb659

Adding atari port folder and modifications to init and krn to accommodate
author Boisy Pitre <boisy.pitre@nuance.com>
date Tue, 21 Feb 2012 08:34:51 -0600
parents
children 53c42701f680 e4a0f58a5f9b
line wrap: on
line source

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

vpath %.asm $(LEVEL1)/modules/kernel

DEPENDS		= ./makefile

KERNEL		= krn
KERNELP2	= krnp2
SYSCALLS	= fcmpnam.asm fprsnam.asm

AFLAGS		+= -aATARI=1 -I$(LEVEL1)/modules/kernel

ALLOBJS		= $(KERNEL) $(KERNELP2)

all:	$(ALLOBJS)

$(KERNEL):	krn.asm $(SYSCALLS)

$(KERNELP2):	krnp2.asm $(SYSCALLS)

clean:
	$(RM) $(ALLOBJS)

showobjs:
	@$(ECHO) $(ALLOBJS)

showcopyobjs:
	@$(ECHO) $(COPYOBJS)

identify:
	$(IDENT_SHORT) $(ALLOBJS)