]> git.saurik.com Git - wxWidgets.git/blame - src/msw/makefile.g95
Minor corrections to be able to compile with VC++ 1.5C and VC++ 4.1
[wxWidgets.git] / src / msw / makefile.g95
CommitLineData
a1b82138 1
e8ac7bf2 2# This file was automatically generated by tmake at 15:14, 1999/08/18
a1b82138
VZ
3# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE G95.T!
4
2bda0e17 5#
c45a644e
RR
6# File: makefile.g95
7# Author: Julian Smart, Robert Roebling, Vadim Zeitlin
a1b82138 8# Created: 1993
c45a644e
RR
9# Updated: 1999
10# Copyright:(c) 1993, AIAI, University of Edinburgh,
11# Copyright:(c) 1999, Vadim Zeitlin
12# Copyright:(c) 1999, Robert Roebling
2bda0e17
KB
13#
14# Makefile for libwx.a
15
16# Replace this with your own path if necessary
17WXDIR = ../..
18
c45a644e 19# All common compiler flags and options are now in
2bda0e17
KB
20# this central makefile.
21include $(WXDIR)/src/makeg95.env
22
2bda0e17
KB
23# Subordinate library possibilities
24
25EXTRAOBJS=
26
c45a644e
RR
27GENDIR = $(WXDIR)/src/generic
28COMMDIR = $(WXDIR)/src/common
a3015c54 29HTMLDIR = $(WXDIR)/src/html
c45a644e
RR
30XPMDIR = $(WXDIR)/src/xpm
31PNGDIR = $(WXDIR)/src/png
32JPEGDIR = $(WXDIR)/src/jpeg
33ZLIBDIR = $(WXDIR)/src/zlib
34OLEDIR = $(WXDIR)/src/msw/ole
35MSWDIR = $(WXDIR)/src/msw
2bda0e17 36
2bda0e17
KB
37DOCDIR = $(WXDIR)\docs
38
c45a644e
RR
39GENERICOBJS = \
40 $(GENDIR)/busyinfo.$(OBJSUFF) \
2662e49e
RR
41 $(GENDIR)/choicdgg.$(OBJSUFF) \
42 $(GENDIR)/dirdlgg.$(OBJSUFF) \
2662e49e
RR
43 $(GENDIR)/gridg.$(OBJSUFF) \
44 $(GENDIR)/laywin.$(OBJSUFF) \
9be9b974 45 $(GENDIR)/numdlgg.$(OBJSUFF) \
2662e49e
RR
46 $(GENDIR)/panelg.$(OBJSUFF) \
47 $(GENDIR)/progdlgg.$(OBJSUFF) \
48 $(GENDIR)/prop.$(OBJSUFF) \
49 $(GENDIR)/propform.$(OBJSUFF) \
50 $(GENDIR)/proplist.$(OBJSUFF) \
51 $(GENDIR)/sashwin.$(OBJSUFF) \
52 $(GENDIR)/scrolwin.$(OBJSUFF) \
53 $(GENDIR)/splitter.$(OBJSUFF) \
54 $(GENDIR)/statusbr.$(OBJSUFF) \
55 $(GENDIR)/tabg.$(OBJSUFF) \
56 $(GENDIR)/textdlgg.$(OBJSUFF) \
e8ac7bf2
RD
57 $(GENDIR)/tipdlg.$(OBJSUFF) \
58 $(GENDIR)/wizard.$(OBJSUFF)
8baa0e61 59
c45a644e 60COMMONOBJS = \
a1b82138 61 $(COMMDIR)/y_tab.$(OBJSUFF) \
8d99be5f 62 $(COMMDIR)/choiccmn.$(OBJSUFF) \
2662e49e
RR
63 $(COMMDIR)/cmndata.$(OBJSUFF) \
64 $(COMMDIR)/config.$(OBJSUFF) \
8d99be5f 65 $(COMMDIR)/ctrlcmn.$(OBJSUFF) \
2662e49e
RR
66 $(COMMDIR)/date.$(OBJSUFF) \
67 $(COMMDIR)/datstrm.$(OBJSUFF) \
68 $(COMMDIR)/db.$(OBJSUFF) \
69 $(COMMDIR)/dbtable.$(OBJSUFF) \
70 $(COMMDIR)/dcbase.$(OBJSUFF) \
71 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
72 $(COMMDIR)/docmdi.$(OBJSUFF) \
73 $(COMMDIR)/docview.$(OBJSUFF) \
74 $(COMMDIR)/dynarray.$(OBJSUFF) \
75 $(COMMDIR)/dynlib.$(OBJSUFF) \
76 $(COMMDIR)/event.$(OBJSUFF) \
a1b82138 77 $(COMMDIR)/extended.$(OBJSUFF) \
2662e49e
RR
78 $(COMMDIR)/ffile.$(OBJSUFF) \
79 $(COMMDIR)/file.$(OBJSUFF) \
80 $(COMMDIR)/fileconf.$(OBJSUFF) \
81 $(COMMDIR)/filefn.$(OBJSUFF) \
82 $(COMMDIR)/filesys.$(OBJSUFF) \
83 $(COMMDIR)/framecmn.$(OBJSUFF) \
84 $(COMMDIR)/fs_inet.$(OBJSUFF) \
85 $(COMMDIR)/fs_zip.$(OBJSUFF) \
86 $(COMMDIR)/ftp.$(OBJSUFF) \
87 $(COMMDIR)/gdicmn.$(OBJSUFF) \
e8ac7bf2 88 $(COMMDIR)/gifdecod.$(OBJSUFF) \
2662e49e
RR
89 $(COMMDIR)/hash.$(OBJSUFF) \
90 $(COMMDIR)/helpbase.$(OBJSUFF) \
91 $(COMMDIR)/http.$(OBJSUFF) \
92 $(COMMDIR)/imagbmp.$(OBJSUFF) \
93 $(COMMDIR)/image.$(OBJSUFF) \
94 $(COMMDIR)/imaggif.$(OBJSUFF) \
95 $(COMMDIR)/imagjpeg.$(OBJSUFF) \
96 $(COMMDIR)/imagpng.$(OBJSUFF) \
e8ac7bf2 97 $(COMMDIR)/imagpnm.$(OBJSUFF) \
2662e49e
RR
98 $(COMMDIR)/intl.$(OBJSUFF) \
99 $(COMMDIR)/ipcbase.$(OBJSUFF) \
100 $(COMMDIR)/layout.$(OBJSUFF) \
101 $(COMMDIR)/list.$(OBJSUFF) \
102 $(COMMDIR)/log.$(OBJSUFF) \
103 $(COMMDIR)/memory.$(OBJSUFF) \
104 $(COMMDIR)/mimetype.$(OBJSUFF) \
105 $(COMMDIR)/module.$(OBJSUFF) \
106 $(COMMDIR)/mstream.$(OBJSUFF) \
107 $(COMMDIR)/object.$(OBJSUFF) \
108 $(COMMDIR)/objstrm.$(OBJSUFF) \
109 $(COMMDIR)/paper.$(OBJSUFF) \
110 $(COMMDIR)/prntbase.$(OBJSUFF) \
111 $(COMMDIR)/process.$(OBJSUFF) \
112 $(COMMDIR)/protocol.$(OBJSUFF) \
113 $(COMMDIR)/resource.$(OBJSUFF) \
114 $(COMMDIR)/sckaddr.$(OBJSUFF) \
115 $(COMMDIR)/sckfile.$(OBJSUFF) \
2662e49e
RR
116 $(COMMDIR)/sckipc.$(OBJSUFF) \
117 $(COMMDIR)/sckstrm.$(OBJSUFF) \
0ae2df30 118 $(COMMDIR)/sizer.$(OBJSUFF) \
2662e49e 119 $(COMMDIR)/socket.$(OBJSUFF) \
77671fd2 120 $(COMMDIR)/strconv.$(OBJSUFF) \
2662e49e
RR
121 $(COMMDIR)/stream.$(OBJSUFF) \
122 $(COMMDIR)/string.$(OBJSUFF) \
123 $(COMMDIR)/tbarbase.$(OBJSUFF) \
124 $(COMMDIR)/textcmn.$(OBJSUFF) \
125 $(COMMDIR)/textfile.$(OBJSUFF) \
126 $(COMMDIR)/time.$(OBJSUFF) \
127 $(COMMDIR)/timercmn.$(OBJSUFF) \
128 $(COMMDIR)/tokenzr.$(OBJSUFF) \
129 $(COMMDIR)/txtstrm.$(OBJSUFF) \
130 $(COMMDIR)/unzip.$(OBJSUFF) \
131 $(COMMDIR)/url.$(OBJSUFF) \
132 $(COMMDIR)/utilscmn.$(OBJSUFF) \
133 $(COMMDIR)/valgen.$(OBJSUFF) \
134 $(COMMDIR)/validate.$(OBJSUFF) \
135 $(COMMDIR)/valtext.$(OBJSUFF) \
136 $(COMMDIR)/variant.$(OBJSUFF) \
137 $(COMMDIR)/wfstream.$(OBJSUFF) \
138 $(COMMDIR)/wincmn.$(OBJSUFF) \
139 $(COMMDIR)/wxchar.$(OBJSUFF) \
140 $(COMMDIR)/wxexpr.$(OBJSUFF) \
77671fd2 141 $(COMMDIR)/zipstrm.$(OBJSUFF) \
2662e49e 142 $(COMMDIR)/zstream.$(OBJSUFF)
a1b82138 143
a3015c54 144HTMLOBJS = \
8a4df159
RR
145 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
146 $(HTMLDIR)/htmlfilter.$(OBJSUFF) \
147 $(HTMLDIR)/htmlhelp.$(OBJSUFF) \
148 $(HTMLDIR)/htmlhelp_io.$(OBJSUFF) \
149 $(HTMLDIR)/htmlparser.$(OBJSUFF) \
150 $(HTMLDIR)/htmltag.$(OBJSUFF) \
151 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
152 $(HTMLDIR)/htmlwinparser.$(OBJSUFF) \
153 $(HTMLDIR)/mod_fonts.$(OBJSUFF) \
154 $(HTMLDIR)/mod_hline.$(OBJSUFF) \
155 $(HTMLDIR)/mod_image.$(OBJSUFF) \
156 $(HTMLDIR)/mod_layout.$(OBJSUFF) \
157 $(HTMLDIR)/mod_links.$(OBJSUFF) \
158 $(HTMLDIR)/mod_list.$(OBJSUFF) \
159 $(HTMLDIR)/mod_pre.$(OBJSUFF) \
160 $(HTMLDIR)/mod_tables.$(OBJSUFF) \
161 $(HTMLDIR)/search.$(OBJSUFF)
a3015c54 162
c45a644e 163MSWOBJS = \
a3015c54
RR
164 $(MSWDIR)/accel.$(OBJSUFF) \
165 $(MSWDIR)/app.$(OBJSUFF) \
166 $(MSWDIR)/bitmap.$(OBJSUFF) \
167 $(MSWDIR)/bmpbuttn.$(OBJSUFF) \
168 $(MSWDIR)/brush.$(OBJSUFF) \
169 $(MSWDIR)/button.$(OBJSUFF) \
170 $(MSWDIR)/caret.$(OBJSUFF) \
171 $(MSWDIR)/checkbox.$(OBJSUFF) \
172 $(MSWDIR)/checklst.$(OBJSUFF) \
173 $(MSWDIR)/choice.$(OBJSUFF) \
174 $(MSWDIR)/clipbrd.$(OBJSUFF) \
175 $(MSWDIR)/colordlg.$(OBJSUFF) \
176 $(MSWDIR)/colour.$(OBJSUFF) \
177 $(MSWDIR)/combobox.$(OBJSUFF) \
178 $(MSWDIR)/control.$(OBJSUFF) \
179 $(MSWDIR)/curico.$(OBJSUFF) \
180 $(MSWDIR)/cursor.$(OBJSUFF) \
181 $(MSWDIR)/data.$(OBJSUFF) \
182 $(MSWDIR)/dc.$(OBJSUFF) \
183 $(MSWDIR)/dcclient.$(OBJSUFF) \
184 $(MSWDIR)/dcmemory.$(OBJSUFF) \
185 $(MSWDIR)/dcprint.$(OBJSUFF) \
186 $(MSWDIR)/dcscreen.$(OBJSUFF) \
187 $(MSWDIR)/dde.$(OBJSUFF) \
188 $(MSWDIR)/dialog.$(OBJSUFF) \
189 $(MSWDIR)/dib.$(OBJSUFF) \
190 $(MSWDIR)/dibutils.$(OBJSUFF) \
191 $(MSWDIR)/dragimag.$(OBJSUFF) \
192 $(MSWDIR)/filedlg.$(OBJSUFF) \
193 $(MSWDIR)/font.$(OBJSUFF) \
194 $(MSWDIR)/fontdlg.$(OBJSUFF) \
195 $(MSWDIR)/frame.$(OBJSUFF) \
196 $(MSWDIR)/gauge95.$(OBJSUFF) \
197 $(MSWDIR)/gdiobj.$(OBJSUFF) \
198 $(MSWDIR)/helpwin.$(OBJSUFF) \
199 $(MSWDIR)/icon.$(OBJSUFF) \
200 $(MSWDIR)/imaglist.$(OBJSUFF) \
201 $(MSWDIR)/joystick.$(OBJSUFF) \
202 $(MSWDIR)/listbox.$(OBJSUFF) \
203 $(MSWDIR)/listctrl.$(OBJSUFF) \
204 $(MSWDIR)/main.$(OBJSUFF) \
205 $(MSWDIR)/mdi.$(OBJSUFF) \
206 $(MSWDIR)/menu.$(OBJSUFF) \
207 $(MSWDIR)/menuitem.$(OBJSUFF) \
208 $(MSWDIR)/metafile.$(OBJSUFF) \
209 $(MSWDIR)/minifram.$(OBJSUFF) \
210 $(MSWDIR)/msgdlg.$(OBJSUFF) \
211 $(MSWDIR)/nativdlg.$(OBJSUFF) \
212 $(MSWDIR)/notebook.$(OBJSUFF) \
213 $(MSWDIR)/ownerdrw.$(OBJSUFF) \
214 $(MSWDIR)/palette.$(OBJSUFF) \
215 $(MSWDIR)/pen.$(OBJSUFF) \
216 $(MSWDIR)/penwin.$(OBJSUFF) \
217 $(MSWDIR)/pnghand.$(OBJSUFF) \
218 $(MSWDIR)/printdlg.$(OBJSUFF) \
219 $(MSWDIR)/printwin.$(OBJSUFF) \
220 $(MSWDIR)/radiobox.$(OBJSUFF) \
221 $(MSWDIR)/radiobut.$(OBJSUFF) \
222 $(MSWDIR)/regconf.$(OBJSUFF) \
223 $(MSWDIR)/region.$(OBJSUFF) \
224 $(MSWDIR)/registry.$(OBJSUFF) \
225 $(MSWDIR)/scrolbar.$(OBJSUFF) \
226 $(MSWDIR)/settings.$(OBJSUFF) \
227 $(MSWDIR)/slider95.$(OBJSUFF) \
228 $(MSWDIR)/spinbutt.$(OBJSUFF) \
229 $(MSWDIR)/statbmp.$(OBJSUFF) \
230 $(MSWDIR)/statbox.$(OBJSUFF) \
231 $(MSWDIR)/statbr95.$(OBJSUFF) \
232 $(MSWDIR)/statline.$(OBJSUFF) \
233 $(MSWDIR)/stattext.$(OBJSUFF) \
234 $(MSWDIR)/tabctrl.$(OBJSUFF) \
235 $(MSWDIR)/taskbar.$(OBJSUFF) \
236 $(MSWDIR)/tbar95.$(OBJSUFF) \
237 $(MSWDIR)/textctrl.$(OBJSUFF) \
238 $(MSWDIR)/thread.$(OBJSUFF) \
239 $(MSWDIR)/timer.$(OBJSUFF) \
240 $(MSWDIR)/tooltip.$(OBJSUFF) \
241 $(MSWDIR)/treectrl.$(OBJSUFF) \
242 $(MSWDIR)/utils.$(OBJSUFF) \
243 $(MSWDIR)/utilsexc.$(OBJSUFF) \
244 $(MSWDIR)/wave.$(OBJSUFF) \
245 $(MSWDIR)/window.$(OBJSUFF) \
246 $(MSWDIR)/xpmhand.$(OBJSUFF)
2bda0e17 247
c45a644e
RR
248ZLIBOBJS = \
249 $(ZLIBDIR)/adler32.$(OBJSUFF) \
250 $(ZLIBDIR)/compress.$(OBJSUFF) \
251 $(ZLIBDIR)/crc32.$(OBJSUFF) \
252 $(ZLIBDIR)/gzio.$(OBJSUFF) \
253 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
254 $(ZLIBDIR)/deflate.$(OBJSUFF) \
255 $(ZLIBDIR)/trees.$(OBJSUFF) \
256 $(ZLIBDIR)/zutil.$(OBJSUFF) \
257 $(ZLIBDIR)/inflate.$(OBJSUFF) \
258 $(ZLIBDIR)/infblock.$(OBJSUFF) \
259 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
260 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
261 $(ZLIBDIR)/infutil.$(OBJSUFF) \
262 $(ZLIBDIR)/inffast.$(OBJSUFF)
263
264PNGOBJS = \
265 $(PNGDIR)/png.$(OBJSUFF) \
266 $(PNGDIR)/pngread.$(OBJSUFF) \
267 $(PNGDIR)/pngrtran.$(OBJSUFF) \
268 $(PNGDIR)/pngrutil.$(OBJSUFF) \
269 $(PNGDIR)/pngpread.$(OBJSUFF) \
270 $(PNGDIR)/pngtrans.$(OBJSUFF) \
271 $(PNGDIR)/pngwrite.$(OBJSUFF) \
272 $(PNGDIR)/pngwtran.$(OBJSUFF) \
273 $(PNGDIR)/pngwutil.$(OBJSUFF) \
274 $(PNGDIR)/pngerror.$(OBJSUFF) \
275 $(PNGDIR)/pngmem.$(OBJSUFF) \
276 $(PNGDIR)/pngwio.$(OBJSUFF) \
277 $(PNGDIR)/pngrio.$(OBJSUFF) \
278 $(PNGDIR)/pngget.$(OBJSUFF) \
279 $(PNGDIR)/pngset.$(OBJSUFF)
280
281
282JPEGOBJS = \
283 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
284 $(JPEGDIR)/jutils.$(OBJSUFF) \
285 $(JPEGDIR)/jerror.$(OBJSUFF) \
286 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
287 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
288 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
289 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
290 $(JPEGDIR)/jctrans.$(OBJSUFF) \
291 $(JPEGDIR)/jcparam.$(OBJSUFF) \
292 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
293 $(JPEGDIR)/jcinit.$(OBJSUFF) \
294 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
295 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
296 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
297 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
298 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
299 $(JPEGDIR)/jccolor.$(OBJSUFF) \
300 $(JPEGDIR)/jcsample.$(OBJSUFF) \
301 $(JPEGDIR)/jchuff.$(OBJSUFF) \
302 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
303 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
304 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
305 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
306 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
307 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
308 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
309 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
310 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
311 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
312 $(JPEGDIR)/jdinput.$(OBJSUFF) \
313 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
314 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
315 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
316 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
317 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
318 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
319 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
320 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
321 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
322 $(JPEGDIR)/jidctint.$(OBJSUFF) \
323 $(JPEGDIR)/jidctred.$(OBJSUFF) \
324 $(JPEGDIR)/jdsample.$(OBJSUFF) \
325 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
326 $(JPEGDIR)/jquant1.$(OBJSUFF) \
327 $(JPEGDIR)/jquant2.$(OBJSUFF) \
328 $(JPEGDIR)/jdmerge.$(OBJSUFF)
329
4fabb575
JS
330XPMOBJECTS = $(XPMDIR)/crbuffri.o\
331 $(XPMDIR)/crdatfri.o\
332 $(XPMDIR)/create.o $(XPMDIR)/crifrbuf.o\
333 $(XPMDIR)/crifrdat.o\
334 $(XPMDIR)/data.o\
335 $(XPMDIR)/hashtab.o $(XPMDIR)/misc.o\
336 $(XPMDIR)/parse.o $(XPMDIR)/rdftodat.o\
337 $(XPMDIR)/rdftoi.o\
338 $(XPMDIR)/rgb.o $(XPMDIR)/scan.o\
339 $(XPMDIR)/simx.o $(XPMDIR)/wrffrdat.o\
340 $(XPMDIR)/wrffrp.o $(XPMDIR)/wrffri.o
74e34480 341
a3015c54 342OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) \
c45a644e 343 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS) # $(XPMOBJECTS)
2bda0e17
KB
344
345all: $(OBJECTS) $(WXLIB)
346
2bda0e17
KB
347$(WXLIB): $(OBJECTS) $(EXTRAOBJS)
348 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
349 $(RANLIB) $@
350
2bda0e17
KB
351$(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h
352
353$(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
6a570331
RR
354 $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
355
356$(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
357 copy ..\common\dosyacc.c ..\common\y_tab.c
358
359$(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
360 copy ..\common\doslex.c ..\common\lex_yy.c
2bda0e17
KB
361
362# Replace lex with flex if you run into compilation
363# problems with lex_yy.c. See also note about LEX_SCANNER
364# above.
6a570331
RR
365# $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
366# $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
367#
8870c26e
JS
368# Try one of these if the above line doesn't work.
369# Alternative syntax (1)
370# $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
371# Alternative syntax (2)
372# $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
6a570331 373#
2bda0e17
KB
374# sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
375# sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
376# sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
377# rm -f lex.yy.c
6a570331 378#
2bda0e17
KB
379# Replace yacc with bison if you run into compilation
380# problems with y_tab.c.
6a570331
RR
381#
382# $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
383# $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
384#
57c208c5
JS
385# If you use e.g. gcc on Unix, uncomment these lines
386# and comment out the above.
6a570331 387#
a1b82138 388# $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
57c208c5
JS
389# $(YACC) $(COMMDIR)/parser.y
390# mv y.tab.c $(COMMDIR)/y_tab.c
2bda0e17 391
2bda0e17 392clean:
6a570331 393 -erase *.o
77671fd2 394 -erase *.bak
6a570331
RR
395 -erase core
396 -erase ..\common\y_tab.c
397 -erase ..\common\lex_yy.c
398 -erase ..\common\*.o
77671fd2 399 -erase ..\common\*.bak
6a570331 400 -erase ..\generic\*.o
77671fd2 401 -erase ..\generic\*.bak
a3015c54 402 -erase ..\html\*.o
c45a644e 403 -erase ..\png\*.o
77671fd2 404 -erase ..\png\*.bak
c45a644e 405 -erase ..\zlib\*.o
77671fd2 406 -erase ..\zlib\*.bak
c45a644e 407 -erase ..\jpeg\*.o
a1925afc 408 -erase ..\..\lib\libwx.a
2bda0e17
KB
409
410cleanall: clean