view level1/tano/modules/kernel/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 28ed72477814
line wrap: on
line source

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

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

DEPENDS		= ./makefile

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

AFLAGS		+= -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)