diff level1/mc09/modules/kernel/makefile @ 3116:174eb9eda7b1

New port "mc09" for Multicomp09, an FPGA-based 6809 machine Include new commands/descriptor for mc09 clock and SD controller
author Neal Crook <foofoobedoo@gmail.com>
date Sat, 17 Oct 2015 21:21:11 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/mc09/modules/kernel/makefile	Sat Oct 17 21:21:11 2015 +0100
@@ -0,0 +1,34 @@
+ifeq ($(PORT),)
+        PORT=mc09
+endif
+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)