annotate rules.mak @ 133:40f5c43c8c03

Split up the commands into individual files.
author roug
date Sun, 07 Jul 2002 08:58:56 +0000
parents 123c67412efc
children d5c4d7584bb6
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
94
41d00dbe5f9a Added IDENT and IDENT_SHORT macros
boisy
parents: 63
diff changeset
19 IDENT = os9ident
41d00dbe5f9a Added IDENT and IDENT_SHORT macros
boisy
parents: 63
diff changeset
20 IDENT_SHORT = os9ident -s
108
123c67412efc Added new macros for text file manipulation
boisy
parents: 94
diff changeset
21 UNIX2OS9 = u2o
123c67412efc Added new macros for text file manipulation
boisy
parents: 94
diff changeset
22 OS92UNIX = o2u
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 # File managers
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 %.mn: %.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 drivers
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 %.dr: %.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 # Device descriptors
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 %.dd: %.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 # Window device descriptors
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 %.dw: %.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 # Terminal device descriptors
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 %.dt: %.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 # I/O subroutines
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 %.io: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 # 60Hz clocks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 %.60hz: %.asm
63
4ceb0578f0d1 Changed TkPerSec to TPS
boisy
parents: 0
diff changeset
50 $(AS) -aTPS=60 $(AFLAGS) $< $(ASOUT)$@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52 # 50Hz clocks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 %.50hz: %.asm
63
4ceb0578f0d1 Changed TkPerSec to TPS
boisy
parents: 0
diff changeset
54 $(AS) -aTPS=50 $(AFLAGS) $< $(ASOUT)$@
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 # All other modules
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 %: %.asm
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 $(AS) $(AFLAGS) $< $(ASOUT)$@
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59