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