annotate level1/atari/defs/makefile @ 2710:ab3a2531c000 lwtools-port

Fixed makefiles and assembly for ATARI port
author Boisy Pitre <boisy.pitre@nuance.com>
date Tue, 24 Jul 2012 10:00:38 -0500
parents 2bf46e4a7c27
children e76cc015cc03
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2710
ab3a2531c000 Fixed makefiles and assembly for ATARI port
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2685
diff changeset
1 PORT = atari
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
2 include $(NITROS9DIR)/rules.mak
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
3
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
4 DEPENDS = ./makefile
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
5
2684
2a37d4530972 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2624
diff changeset
6 DEFOPTS = --preprocess -DLevel=1
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
7 DEFSDIR = ../../../defs
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2617
diff changeset
8 DEFS = defsfile os9.d rbf.d scf.d atari.d atarivtio.d
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
9 ALLOBJS = $(DEFS)
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
10
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
11 all: $(ALLOBJS)
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
12
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2617
diff changeset
13 defsfile: defsfile.asm
2685
2bf46e4a7c27 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2684
diff changeset
14 $(AS) $(DEFOPTS) $< > $@
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
15
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2617
diff changeset
16 os9.d: $(DEFSDIR)/os9.d
2685
2bf46e4a7c27 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2684
diff changeset
17 $(AS) $(DEFOPTS) -DOS9.D=0 $< > $@
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
18
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2617
diff changeset
19 rbf.d: $(DEFSDIR)/rbf.d
2685
2bf46e4a7c27 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2684
diff changeset
20 $(AS) $(DEFOPTS) -DRBF.D=0 $< > $@
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
21
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2617
diff changeset
22 scf.d: $(DEFSDIR)/scf.d
2685
2bf46e4a7c27 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2684
diff changeset
23 $(AS) $(DEFOPTS) -DSCF.D=0 $< > $@
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
24
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2617
diff changeset
25 atari.d: $(DEFSDIR)/atari.d
2685
2bf46e4a7c27 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2684
diff changeset
26 $(AS) $(DEFOPTS) -DATARI.D=0 $< > $@
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
27
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2617
diff changeset
28 atarivtio.d: $(DEFSDIR)/atarivtio.d
2685
2bf46e4a7c27 Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents: 2684
diff changeset
29 $(AS) $(DEFOPTS) -DATARIVTIO.D=0 $< > $@
2617
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
30
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
31 clean:
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
32 $(RM) $(DEFS)
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
33
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
34 showobjs:
b1145d2cb659 Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
35 @$(ECHO) $(ALLOBJS)