Mercurial > hg > Members > kono > nitros9-code
annotate rules.mak @ 306:c863af5b4ea1
init.asm: extended (see os9defs(
os9.asm: added code to set D.CRC based on flag in init module
author | boisy |
---|---|
date | Mon, 22 Jul 2002 23:15:21 +0000 |
parents | ce65a48362d5 |
children | 2a7bfa7ce709 |
rev | line source |
---|---|
0 | 1 # Rules for making OS-9/6X09 modules |
2 | |
299
ce65a48362d5
Added BASE macro, o2u/d2u now execute relative to hosttools
boisy
parents:
224
diff
changeset
|
3 # This macro should change according to where the base directory of the |
ce65a48362d5
Added BASE macro, o2u/d2u now execute relative to hosttools
boisy
parents:
224
diff
changeset
|
4 # OS-9 source tree is located |
ce65a48362d5
Added BASE macro, o2u/d2u now execute relative to hosttools
boisy
parents:
224
diff
changeset
|
5 BASEDIR = /home/boisy/os9 |
ce65a48362d5
Added BASE macro, o2u/d2u now execute relative to hosttools
boisy
parents:
224
diff
changeset
|
6 |
0 | 7 # If we're using the OS-9 emulator and the *real* OS-9 assembler, |
8 # uncomment the following two lines. | |
9 #AS = os9 /mnt2/src/ocem/os9/asm | |
10 #ASOUT = o= | |
11 | |
12 # Use the cross assembler | |
13 AS = os9asm | |
14 ASOUT = -o= | |
15 AFLAGS = -q | |
16 | |
17 # Commands | |
224 | 18 RM = rm -f |
0 | 19 MERGE = cat |
20 PADROM = os9padrom | |
21 ECHO = echo | |
22 CHMOD = chmod | |
94 | 23 IDENT = os9ident |
24 IDENT_SHORT = os9ident -s | |
299
ce65a48362d5
Added BASE macro, o2u/d2u now execute relative to hosttools
boisy
parents:
224
diff
changeset
|
25 UNIX2OS9 = $(BASEDIR)/hosttools/u2o |
ce65a48362d5
Added BASE macro, o2u/d2u now execute relative to hosttools
boisy
parents:
224
diff
changeset
|
26 OS92UNIX = $(BASEDIR)/hosttools/o2u |
0 | 27 |
28 # File managers | |
29 %.mn: %.asm | |
30 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
31 | |
32 # Device drivers | |
33 %.dr: %.asm | |
34 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
35 | |
36 # Device descriptors | |
37 %.dd: %.asm | |
38 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
39 | |
40 # Window device descriptors | |
41 %.dw: %.asm | |
42 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
43 | |
44 # Terminal device descriptors | |
45 %.dt: %.asm | |
46 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
47 | |
48 # I/O subroutines | |
49 %.io: %.asm | |
50 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
51 | |
52 # 60Hz clocks | |
53 %.60hz: %.asm | |
63 | 54 $(AS) -aTPS=60 $(AFLAGS) $< $(ASOUT)$@ |
0 | 55 |
56 # 50Hz clocks | |
57 %.50hz: %.asm | |
63 | 58 $(AS) -aTPS=50 $(AFLAGS) $< $(ASOUT)$@ |
0 | 59 |
60 # All other modules | |
61 %: %.asm | |
62 $(AS) $(AFLAGS) $< $(ASOUT)$@ | |
63 |