Mercurial > hg > Members > kono > nitros9-code
comparison level1/atari/modules/kernel/makefile @ 3026:4404f3cf2941
level1: Make all ports use the same kernel module makefile
They were already identical, just needed to include one from
all the others, to avoid redundant maintenance.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Thu, 11 Dec 2014 21:33:57 +0100 |
parents | 28ed72477814 |
children |
comparison
equal
deleted
inserted
replaced
3025:b94dfb0e3650 | 3026:4404f3cf2941 |
---|---|
1 PORT = atari | 1 PORT = atari |
2 include $(NITROS9DIR)/rules.mak | 2 include ../../../coco1/modules/kernel/makefile |
3 | |
4 vpath %.asm $(LEVEL1)/modules/kernel | |
5 | |
6 DEPENDS = ./makefile | |
7 | |
8 KERNEL = krn | |
9 KERNELP2 = krnp2 | |
10 SYSCALLS = fcmpnam.asm fprsnam.asm | |
11 | |
12 AFLAGS += -I$(LEVEL1)/modules/kernel | |
13 | |
14 ALLOBJS = $(KERNEL) $(KERNELP2) | |
15 | |
16 all: $(ALLOBJS) | |
17 | |
18 $(KERNEL): krn.asm $(SYSCALLS) | |
19 | |
20 $(KERNELP2): krnp2.asm $(SYSCALLS) | |
21 | |
22 clean: | |
23 $(RM) $(ALLOBJS) | |
24 | |
25 showobjs: | |
26 @$(ECHO) $(ALLOBJS) | |
27 | |
28 showcopyobjs: | |
29 @$(ECHO) $(COPYOBJS) | |
30 | |
31 identify: | |
32 $(IDENT_SHORT) $(ALLOBJS) |