annotate rules.mak @ 91:c10820aa211b

Added
author boisy
date Wed, 03 Jul 2002 03:41:59 +0000
parents 4ceb0578f0d1
children 41d00dbe5f9a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 # Rules for making OS-9/6X09 modules
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
3 # If we're using the OS-9 emulator and the *real* OS-9 assembler,
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
4 # uncomment the following two lines.
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5 #AS = os9 /mnt2/src/ocem/os9/asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6 #ASOUT = o=
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 # Use the cross assembler
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9 AS = os9asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 ASOUT = -o=
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 AFLAGS = -q
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13 # Commands
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14 RM = rm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 MERGE = cat
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 PADROM = os9padrom
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 ECHO = echo
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 CHMOD = chmod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 # File managers
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 %.mn: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 # Device drivers
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 %.dr: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 # Device descriptors
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 %.dd: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 # Window device descriptors
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 %.dw: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 # Terminal device descriptors
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 %.dt: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 # I/O subroutines
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 %.io: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 # 60Hz clocks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 %.60hz: %.asm
63
4ceb0578f0d1 Changed TkPerSec to TPS
boisy
parents: 0
diff changeset
46 $(AS) -aTPS=60 $(AFLAGS) $< $(ASOUT)$@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 # 50Hz clocks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 %.50hz: %.asm
63
4ceb0578f0d1 Changed TkPerSec to TPS
boisy
parents: 0
diff changeset
50 $(AS) -aTPS=50 $(AFLAGS) $< $(ASOUT)$@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52 # All other modules
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 %: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55