]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # File: makefile.vc | |
3 | # Author: Julian Smart | |
4 | # Created: 1993 | |
5 | # Updated: | |
6 | # Copyright: (c) 1993, AIAI, University of Edinburgh | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds samples for Win95, MSVC++ 4.0 | |
11 | # Use FINAL=1 argument to nmake to build final version with no debugging | |
12 | # info | |
13 | ||
14 | # Set WXDIR for your system | |
15 | WXDIR = $(WXWIN) | |
16 | ||
17 | THISDIR=$(WXDIR)\samples | |
18 | ||
19 | !include $(WXDIR)\src\makevc.env | |
20 | ||
21 | DEBUG_FLAGS="/Zi /FR" | |
22 | LINK_DEBUG_FLAGS="/RELEASE" | |
23 | ||
24 | all: | |
25 | cd $(WXDIR)\samples\splitter | |
26 | nmake -f makefile.vc FINAL=$(FINAL) | |
27 | cd $(WXDIR)\samples\resource | |
28 | nmake -f makefile.vc FINAL=$(FINAL) | |
29 | cd $(WXDIR)\samples\controls | |
30 | nmake -f makefile.vc FINAL=$(FINAL) | |
31 | cd $(WXDIR)\samples\listctrl | |
32 | nmake -f makefile.vc FINAL=$(FINAL) | |
33 | cd $(WXDIR)\samples\treectrl | |
34 | nmake -f makefile.vc FINAL=$(FINAL) | |
35 | cd $(WXDIR)\samples\validate | |
36 | nmake -f makefile.vc FINAL=$(FINAL) | |
37 | cd $(WXDIR)\samples\mdi | |
38 | nmake -f makefile.vc FINAL=$(FINAL) | |
39 | cd $(WXDIR)\samples\minimal | |
40 | nmake -f makefile.vc FINAL=$(FINAL) | |
41 | cd $(WXDIR)\samples\layout | |
42 | nmake -f makefile.vc FINAL=$(FINAL) | |
43 | cd $(WXDIR)\samples\printing | |
44 | nmake -f makefile.vc FINAL=$(FINAL) | |
45 | cd $(WXDIR)\samples\toolbar | |
46 | nmake -f makefile.vc FINAL=$(FINAL) | |
47 | cd $(WXDIR)\samples\dialogs | |
48 | nmake -f makefile.vc FINAL=$(FINAL) | |
49 | cd $(WXDIR)\samples\docview | |
50 | nmake -f makefile.vc FINAL=$(FINAL) | |
51 | cd $(WXDIR)\samples\docvwmdi | |
52 | nmake -f makefile.vc FINAL=$(FINAL) | |
53 | cd $(WXDIR)\samples\controls | |
54 | nmake -f makefile.vc FINAL=$(FINAL) | |
55 | cd $(WXDIR)\samples\nativdlg | |
56 | nmake -f makefile.vc FINAL=$(FINAL) | |
57 | cd $(WXDIR)\samples\grid | |
58 | nmake -f makefile.vc FINAL=$(FINAL) | |
59 | cd $(WXDIR)\samples\internat | |
60 | nmake -f makefile.vc FINAL=$(FINAL) | |
61 | cd $(WXDIR)\samples\dnd | |
62 | nmake -f makefile.vc FINAL=$(FINAL) | |
63 | cd $(WXDIR)\samples\joytest | |
64 | nmake -f makefile.vc FINAL=$(FINAL) | |
65 | cd $(WXDIR)\samples\taskbar | |
66 | nmake -f makefile.vc FINAL=$(FINAL) | |
67 | cd $(WXDIR)\samples\sashtest | |
68 | nmake -f makefile.vc FINAL=$(FINAL) | |
69 | !if "$(FINAL)" == "0" | |
70 | cd $(WXDIR)\samples\memcheck | |
71 | !endif | |
72 | nmake -f makefile.vc FINAL=$(FINAL) | |
73 | cd $(WXDIR)\samples\ownerdrw | |
74 | nmake -f makefile.vc FINAL=$(FINAL) | |
75 | cd $(WXDIR)\samples\checklst | |
76 | nmake -f makefile.vc FINAL=$(FINAL) | |
77 | cd $(WXDIR)\samples\minifram | |
78 | nmake -f makefile.vc FINAL=$(FINAL) | |
79 | cd $(WXDIR)\samples\bombs | |
80 | nmake -f makefile.vc FINAL=$(FINAL) | |
81 | cd $(WXDIR)\samples\fractal | |
82 | nmake -f makefile.vc FINAL=$(FINAL) | |
83 | cd $(WXDIR)\samples\wxpoem | |
84 | nmake -f makefile.vc FINAL=$(FINAL) | |
85 | cd $(WXDIR)\samples\typetest | |
86 | nmake -f makefile.vc FINAL=$(FINAL) | |
87 | cd $(WXDIR)\samples\proplist | |
88 | nmake -f makefile.vc FINAL=$(FINAL) | |
89 | cd $(WXDIR)\samples\image | |
90 | nmake -f makefile.vc FINAL=$(FINAL) | |
91 | cd $(WXDIR)\samples\dde | |
92 | nmake -f client.vc FINAL=$(FINAL) | |
93 | nmake -f server.vc FINAL=$(FINAL) | |
94 | # cd $(WXDIR)\samples\regtest | |
95 | # nmake -f makefile.vc FINAL=$(FINAL) | |
96 | ||
97 | clean: | |
98 | cd $(WXDIR)\samples\splitter | |
99 | nmake -f makefile.vc clean | |
100 | cd $(WXDIR)\samples\mdi | |
101 | nmake -f makefile.vc clean | |
102 | cd $(WXDIR)\samples\minimal | |
103 | nmake -f makefile.vc clean | |
104 | cd $(WXDIR)\samples\layout | |
105 | nmake -f makefile.vc clean | |
106 | cd $(WXDIR)\samples\printing | |
107 | nmake -f makefile.vc clean | |
108 | cd $(WXDIR)\samples\toolbar | |
109 | nmake -f makefile.vc clean | |
110 | cd $(WXDIR)\samples\dialogs | |
111 | nmake -f makefile.vc clean | |
112 | cd $(WXDIR)\samples\resource | |
113 | nmake -f makefile.vc clean | |
114 | cd $(WXDIR)\samples\listctrl | |
115 | nmake -f makefile.vc clean | |
116 | cd $(WXDIR)\samples\treectrl | |
117 | nmake -f makefile.vc clean | |
118 | cd $(WXDIR)\samples\validate | |
119 | nmake -f makefile.vc clean | |
120 | cd $(WXDIR)\samples\docview | |
121 | nmake -f makefile.vc clean | |
122 | cd $(WXDIR)\samples\docvwmdi | |
123 | nmake -f makefile.vc clean | |
124 | cd $(WXDIR)\samples\controls | |
125 | nmake -f makefile.vc clean | |
126 | cd $(WXDIR)\samples\nativdlg | |
127 | nmake -f makefile.vc clean | |
128 | cd $(WXDIR)\samples\grid | |
129 | nmake -f makefile.vc clean | |
130 | cd $(WXDIR)\samples\internat | |
131 | nmake -f makefile.vc clean | |
132 | cd $(WXDIR)\samples\checklst | |
133 | nmake -f makefile.vc clean | |
134 | cd $(WXDIR)\samples\ownerdrw | |
135 | nmake -f makefile.vc clean | |
136 | cd $(WXDIR)\samples\dnd | |
137 | nmake -f makefile.vc clean | |
138 | cd $(WXDIR)\samples\joytest | |
139 | nmake -f makefile.vc clean | |
140 | cd $(WXDIR)\samples\regtest | |
141 | nmake -f makefile.vc clean | |
142 | cd $(WXDIR)\samples\taskbar | |
143 | nmake -f makefile.vc clean | |
144 | cd $(WXDIR)\samples\sashtest | |
145 | nmake -f makefile.vc clean | |
146 | cd $(WXDIR)\samples\memcheck | |
147 | nmake -f makefile.vc clean | |
148 | cd $(WXDIR)\samples\minifram | |
149 | nmake -f makefile.vc clean | |
150 | cd $(WXDIR)\samples\bombs | |
151 | nmake -f makefile.vc clean | |
152 | cd $(WXDIR)\samples\fractal | |
153 | nmake -f makefile.vc clean | |
154 | cd $(WXDIR)\samples\wxpoem | |
155 | nmake -f makefile.vc clean | |
156 | cd $(WXDIR)\samples\typetest | |
157 | nmake -f makefile.vc clean | |
158 | cd $(WXDIR)\samples\proplist | |
159 | nmake -f makefile.vc clean | |
160 | cd $(WXDIR)\samples\image | |
161 | nmake -f makefile.vc clean | |
162 | cd $(WXDIR)\samples\dde | |
163 | nmake -f client.vc clean | |
164 | nmake -f server.vc clean | |
165 | cd $(WXDIR)\samples | |
166 |