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
|
0
|
21
|
|
22 # File managers
|
|
23 %.mn: %.asm
|
|
24 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
25
|
|
26 # Device drivers
|
|
27 %.dr: %.asm
|
|
28 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
29
|
|
30 # Device descriptors
|
|
31 %.dd: %.asm
|
|
32 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
33
|
|
34 # Window device descriptors
|
|
35 %.dw: %.asm
|
|
36 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
37
|
|
38 # Terminal device descriptors
|
|
39 %.dt: %.asm
|
|
40 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
41
|
|
42 # I/O subroutines
|
|
43 %.io: %.asm
|
|
44 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
45
|
|
46 # 60Hz clocks
|
|
47 %.60hz: %.asm
|
63
|
48 $(AS) -aTPS=60 $(AFLAGS) $< $(ASOUT)$@
|
0
|
49
|
|
50 # 50Hz clocks
|
|
51 %.50hz: %.asm
|
63
|
52 $(AS) -aTPS=50 $(AFLAGS) $< $(ASOUT)$@
|
0
|
53
|
|
54 # All other modules
|
|
55 %: %.asm
|
|
56 $(AS) $(AFLAGS) $< $(ASOUT)$@
|
|
57
|