]> git.sur5r.net Git - cc65/blob - src/make/watcom.mak
Added a DOS target
[cc65] / src / make / watcom.mak
1 #
2 # Watcom Makefile for the cc65 binutils
3 #
4
5 SUBDIRS =               \
6         common          \
7         ar65            \
8         ca65            \
9         ld65
10
11 all:
12         cd common
13         make -f make\watcom.mak
14         cd ..\ar65
15         make -f make\watcom.mak
16         cd ..\ca65
17         make -f make\watcom.mak
18         cd ..\cc65
19         make -f make\watcom.mak
20         cd ..\cl65
21         make -f make\watcom.mak
22         cd ..\grc
23         make -f make\watcom.mak
24         cd ..\ld65
25         make -f make\watcom.mak
26         cd ..
27
28 dos:
29         cd common
30         make -DTARGET=DOS32 -f make\watcom.mak
31         cd ..\ar65
32         make -DTARGET=DOS32 -f make\watcom.mak
33         cd ..\ca65
34         make -DTARGET=DOS32 -f make\watcom.mak
35         cd ..\cc65
36         make -DTARGET=DOS32 -f make\watcom.mak
37         cd ..\cl65
38         make -DTARGET=DOS32 -f make\watcom.mak
39         cd ..\grc
40         make -DTARGET=DOS32 -f make\watcom.mak
41         cd ..\ld65
42         make -DTARGET=DOS32 -f make\watcom.mak
43         cd ..
44
45 clean:
46         cd common
47         make -f make\watcom.mak clean
48         cd ..\ar65
49         make -f make\watcom.mak clean
50         cd ..\ca65
51         make -f make\watcom.mak clean
52         cd ..\cc65
53         make -f make\watcom.mak clean
54         cd ..\cl65
55         make -f make\watcom.mak clean
56         cd ..\grc
57         make -f make\watcom.mak clean
58         cd ..\ld65
59         make -f make\watcom.mak clean
60         cd ..
61
62 strip:
63         @cd ar65
64         @-make -f make\watcom.mak strip
65         @cd ..\ca65
66         @-make -f make\watcom.mak strip
67         @cd ..\cc65
68         @-make -f make\watcom.mak strip
69         @cd ..\cl65
70         @-make -f make\watcom.mak strip
71         @cd ..\grc
72         @-make -f make\watcom.mak strip
73         @cd ..\ld65
74         @-make -f make\watcom.mak strip
75         @cd ..
76
77
78