0
|
1 # Rules for making OS-9/6X09 modules
|
|
2
|
|
3 # If we're using the OS-9 emulator and the *real* OS-9 assembler,
|
|
4 # uncomment the following two lines.
|
|
5 #AS = os9 /mnt2/src/ocem/os9/asm
|
|
6 #ASOUT = o=
|
|
7
|
|
8 # Use the cross assembler
|
|
9 AS = os9asm
|
|
10 ASOUT = -o=
|
|
11 AFLAGS = -q
|
|
12
|
|
13 # Commands
|
|
14 RM = rm
|
|
15 MERGE = cat
|
|
16 PADROM = os9padrom
|
|
17 ECHO = echo
|
|
18 CHMOD = chmod
|
94
|
19 IDENT = os9ident
|
|
20 IDENT_SHORT = os9ident -s
|
108
|
21 UNIX2OS9 = u2o
|
|
22 OS92UNIX = o2u
|
0
|
23
|
|
24 # File managers
|
|
25 %.mn: %.asm
|
|
26 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
27
|
|
28 # Device drivers
|
|
29 %.dr: %.asm
|
|
30 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
31
|
|
32 # Device descriptors
|
|
33 %.dd: %.asm
|
|
34 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
35
|
|
36 # Window device descriptors
|
|
37 %.dw: %.asm
|
|
38 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
39
|
|
40 # Terminal device descriptors
|
|
41 %.dt: %.asm
|
|
42 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
43
|
|
44 # I/O subroutines
|
|
45 %.io: %.asm
|
|
46 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
47
|
|
48 # 60Hz clocks
|
|
49 %.60hz: %.asm
|
63
|
50 $(AS) -aTPS=60 $(AFLAGS) $< $(ASOUT)$@
|
0
|
51
|
|
52 # 50Hz clocks
|
|
53 %.50hz: %.asm
|
63
|
54 $(AS) -aTPS=50 $(AFLAGS) $< $(ASOUT)$@
|
0
|
55
|
|
56 # All other modules
|
|
57 %: %.asm
|
|
58 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
59
|