annotate level2/coco3/defs/makefile @ 3295:6b7a7b233925 default tip

makefile: Allow PORTS with level1/2 mix https://sourceforge.net/p/nitros9/feature-requests/10/
author Tormod Volden <debian.tormod@gmail.com>
date Tue, 19 Apr 2022 18:12:17 +0200
parents 5095f2b3c81a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3135
5095f2b3c81a coco3: Use port.mak correctly in makefiles
Tormod Volden <debian.tormod@gmail.com>
parents: 2898
diff changeset
1 include ../port.mak
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
2
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
3 DEPENDS = ./makefile
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
4
2684
2a37d4530972 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2624
diff changeset
5 DEFOPTS = --preprocess -DLevel=2
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
6 PERMDEFS = Defsfile
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
7 DEFS = os9.d rbf.d scf.d coco.d coco3vtio.d
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
8 ALLOBJS = $(DEFS) $(PERMDEFS)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
9
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
10 all: $(ALLOBJS)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
11
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
12 os9.d: $(DEFSDIR)/os9.d
2684
2a37d4530972 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2624
diff changeset
13 $(AS) $(AFLAGS) $(DEFOPTS) -DOS9.D=0 $< > $@
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
14
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
15 rbf.d: $(DEFSDIR)/rbf.d
2684
2a37d4530972 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2624
diff changeset
16 $(AS) $(AFLAGS) $(DEFOPTS) -DRBF.D=0 $< > $@
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
17
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
18 scf.d: $(DEFSDIR)/scf.d
2684
2a37d4530972 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2624
diff changeset
19 $(AS) $(AFLAGS) $(DEFOPTS) -DSCF.D=0 $< > $@
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
20
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
21 coco.d: $(DEFSDIR)/coco.d
2684
2a37d4530972 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2624
diff changeset
22 $(AS) $(AFLAGS) $(DEFOPTS) -DCOCO.D=0 $< > $@
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
23
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2050
diff changeset
24 coco3vtio.d: $(DEFSDIR)/cocovtio.d
2684
2a37d4530972 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2624
diff changeset
25 $(AS) $(AFLAGS) $(DEFOPTS) -DCOCOVTIO.D=0 $< > $@
2047
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
26
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
27 clean:
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
28 $(RM) $(DEFS)
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
29
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
30 showobjs:
ed46fc161cc3 All for the mix
boisy
parents:
diff changeset
31 @$(ECHO) $(ALLOBJS)