]> git.saurik.com Git - wxWidgets.git/blame - src/msw/makefile.g95
VisualAge C++ V4.0 configuration files
[wxWidgets.git] / src / msw / makefile.g95
CommitLineData
a1b82138 1
dfdc56a3 2# This file was automatically generated by tmake at 16:27, 1999/08/29
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) \
dfdc56a3 96 $(COMMDIR)/imagpcx.$(OBJSUFF) \
2662e49e 97 $(COMMDIR)/imagpng.$(OBJSUFF) \
e8ac7bf2 98 $(COMMDIR)/imagpnm.$(OBJSUFF) \
2662e49e
RR
99 $(COMMDIR)/intl.$(OBJSUFF) \
100 $(COMMDIR)/ipcbase.$(OBJSUFF) \
101 $(COMMDIR)/layout.$(OBJSUFF) \
102 $(COMMDIR)/list.$(OBJSUFF) \
103 $(COMMDIR)/log.$(OBJSUFF) \
104 $(COMMDIR)/memory.$(OBJSUFF) \
105 $(COMMDIR)/mimetype.$(OBJSUFF) \
106 $(COMMDIR)/module.$(OBJSUFF) \
107 $(COMMDIR)/mstream.$(OBJSUFF) \
108 $(COMMDIR)/object.$(OBJSUFF) \
109 $(COMMDIR)/objstrm.$(OBJSUFF) \
110 $(COMMDIR)/paper.$(OBJSUFF) \
111 $(COMMDIR)/prntbase.$(OBJSUFF) \
112 $(COMMDIR)/process.$(OBJSUFF) \
113 $(COMMDIR)/protocol.$(OBJSUFF) \
114 $(COMMDIR)/resource.$(OBJSUFF) \
115 $(COMMDIR)/sckaddr.$(OBJSUFF) \
116 $(COMMDIR)/sckfile.$(OBJSUFF) \
2662e49e
RR
117 $(COMMDIR)/sckipc.$(OBJSUFF) \
118 $(COMMDIR)/sckstrm.$(OBJSUFF) \
0ae2df30 119 $(COMMDIR)/sizer.$(OBJSUFF) \
2662e49e 120 $(COMMDIR)/socket.$(OBJSUFF) \
77671fd2 121 $(COMMDIR)/strconv.$(OBJSUFF) \
2662e49e
RR
122 $(COMMDIR)/stream.$(OBJSUFF) \
123 $(COMMDIR)/string.$(OBJSUFF) \
124 $(COMMDIR)/tbarbase.$(OBJSUFF) \
125 $(COMMDIR)/textcmn.$(OBJSUFF) \
126 $(COMMDIR)/textfile.$(OBJSUFF) \
127 $(COMMDIR)/time.$(OBJSUFF) \
128 $(COMMDIR)/timercmn.$(OBJSUFF) \
129 $(COMMDIR)/tokenzr.$(OBJSUFF) \
130 $(COMMDIR)/txtstrm.$(OBJSUFF) \
131 $(COMMDIR)/unzip.$(OBJSUFF) \
132 $(COMMDIR)/url.$(OBJSUFF) \
133 $(COMMDIR)/utilscmn.$(OBJSUFF) \
134 $(COMMDIR)/valgen.$(OBJSUFF) \
135 $(COMMDIR)/validate.$(OBJSUFF) \
136 $(COMMDIR)/valtext.$(OBJSUFF) \
137 $(COMMDIR)/variant.$(OBJSUFF) \
138 $(COMMDIR)/wfstream.$(OBJSUFF) \
139 $(COMMDIR)/wincmn.$(OBJSUFF) \
140 $(COMMDIR)/wxchar.$(OBJSUFF) \
141 $(COMMDIR)/wxexpr.$(OBJSUFF) \
77671fd2 142 $(COMMDIR)/zipstrm.$(OBJSUFF) \
2662e49e 143 $(COMMDIR)/zstream.$(OBJSUFF)
a1b82138 144
a3015c54 145HTMLOBJS = \
8a4df159
RR
146 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
147 $(HTMLDIR)/htmlfilter.$(OBJSUFF) \
148 $(HTMLDIR)/htmlhelp.$(OBJSUFF) \
149 $(HTMLDIR)/htmlhelp_io.$(OBJSUFF) \
150 $(HTMLDIR)/htmlparser.$(OBJSUFF) \
151 $(HTMLDIR)/htmltag.$(OBJSUFF) \
152 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
153 $(HTMLDIR)/htmlwinparser.$(OBJSUFF) \
154 $(HTMLDIR)/mod_fonts.$(OBJSUFF) \
155 $(HTMLDIR)/mod_hline.$(OBJSUFF) \
156 $(HTMLDIR)/mod_image.$(OBJSUFF) \
157 $(HTMLDIR)/mod_layout.$(OBJSUFF) \
158 $(HTMLDIR)/mod_links.$(OBJSUFF) \
159 $(HTMLDIR)/mod_list.$(OBJSUFF) \
160 $(HTMLDIR)/mod_pre.$(OBJSUFF) \
161 $(HTMLDIR)/mod_tables.$(OBJSUFF) \
162 $(HTMLDIR)/search.$(OBJSUFF)
a3015c54 163
c45a644e 164MSWOBJS = \
a3015c54
RR
165 $(MSWDIR)/accel.$(OBJSUFF) \
166 $(MSWDIR)/app.$(OBJSUFF) \
167 $(MSWDIR)/bitmap.$(OBJSUFF) \
168 $(MSWDIR)/bmpbuttn.$(OBJSUFF) \
169 $(MSWDIR)/brush.$(OBJSUFF) \
170 $(MSWDIR)/button.$(OBJSUFF) \
171 $(MSWDIR)/caret.$(OBJSUFF) \
172 $(MSWDIR)/checkbox.$(OBJSUFF) \
173 $(MSWDIR)/checklst.$(OBJSUFF) \
174 $(MSWDIR)/choice.$(OBJSUFF) \
175 $(MSWDIR)/clipbrd.$(OBJSUFF) \
176 $(MSWDIR)/colordlg.$(OBJSUFF) \
177 $(MSWDIR)/colour.$(OBJSUFF) \
178 $(MSWDIR)/combobox.$(OBJSUFF) \
179 $(MSWDIR)/control.$(OBJSUFF) \
180 $(MSWDIR)/curico.$(OBJSUFF) \
181 $(MSWDIR)/cursor.$(OBJSUFF) \
182 $(MSWDIR)/data.$(OBJSUFF) \
183 $(MSWDIR)/dc.$(OBJSUFF) \
184 $(MSWDIR)/dcclient.$(OBJSUFF) \
185 $(MSWDIR)/dcmemory.$(OBJSUFF) \
186 $(MSWDIR)/dcprint.$(OBJSUFF) \
187 $(MSWDIR)/dcscreen.$(OBJSUFF) \
188 $(MSWDIR)/dde.$(OBJSUFF) \
189 $(MSWDIR)/dialog.$(OBJSUFF) \
190 $(MSWDIR)/dib.$(OBJSUFF) \
191 $(MSWDIR)/dibutils.$(OBJSUFF) \
192 $(MSWDIR)/dragimag.$(OBJSUFF) \
193 $(MSWDIR)/filedlg.$(OBJSUFF) \
194 $(MSWDIR)/font.$(OBJSUFF) \
195 $(MSWDIR)/fontdlg.$(OBJSUFF) \
196 $(MSWDIR)/frame.$(OBJSUFF) \
197 $(MSWDIR)/gauge95.$(OBJSUFF) \
198 $(MSWDIR)/gdiobj.$(OBJSUFF) \
199 $(MSWDIR)/helpwin.$(OBJSUFF) \
200 $(MSWDIR)/icon.$(OBJSUFF) \
201 $(MSWDIR)/imaglist.$(OBJSUFF) \
202 $(MSWDIR)/joystick.$(OBJSUFF) \
203 $(MSWDIR)/listbox.$(OBJSUFF) \
204 $(MSWDIR)/listctrl.$(OBJSUFF) \
205 $(MSWDIR)/main.$(OBJSUFF) \
206 $(MSWDIR)/mdi.$(OBJSUFF) \
207 $(MSWDIR)/menu.$(OBJSUFF) \
208 $(MSWDIR)/menuitem.$(OBJSUFF) \
209 $(MSWDIR)/metafile.$(OBJSUFF) \
210 $(MSWDIR)/minifram.$(OBJSUFF) \
211 $(MSWDIR)/msgdlg.$(OBJSUFF) \
212 $(MSWDIR)/nativdlg.$(OBJSUFF) \
213 $(MSWDIR)/notebook.$(OBJSUFF) \
214 $(MSWDIR)/ownerdrw.$(OBJSUFF) \
215 $(MSWDIR)/palette.$(OBJSUFF) \
216 $(MSWDIR)/pen.$(OBJSUFF) \
217 $(MSWDIR)/penwin.$(OBJSUFF) \
218 $(MSWDIR)/pnghand.$(OBJSUFF) \
219 $(MSWDIR)/printdlg.$(OBJSUFF) \
220 $(MSWDIR)/printwin.$(OBJSUFF) \
221 $(MSWDIR)/radiobox.$(OBJSUFF) \
222 $(MSWDIR)/radiobut.$(OBJSUFF) \
223 $(MSWDIR)/regconf.$(OBJSUFF) \
224 $(MSWDIR)/region.$(OBJSUFF) \
225 $(MSWDIR)/registry.$(OBJSUFF) \
226 $(MSWDIR)/scrolbar.$(OBJSUFF) \
227 $(MSWDIR)/settings.$(OBJSUFF) \
228 $(MSWDIR)/slider95.$(OBJSUFF) \
229 $(MSWDIR)/spinbutt.$(OBJSUFF) \
230 $(MSWDIR)/statbmp.$(OBJSUFF) \
231 $(MSWDIR)/statbox.$(OBJSUFF) \
232 $(MSWDIR)/statbr95.$(OBJSUFF) \
233 $(MSWDIR)/statline.$(OBJSUFF) \
234 $(MSWDIR)/stattext.$(OBJSUFF) \
235 $(MSWDIR)/tabctrl.$(OBJSUFF) \
236 $(MSWDIR)/taskbar.$(OBJSUFF) \
237 $(MSWDIR)/tbar95.$(OBJSUFF) \
238 $(MSWDIR)/textctrl.$(OBJSUFF) \
239 $(MSWDIR)/thread.$(OBJSUFF) \
240 $(MSWDIR)/timer.$(OBJSUFF) \
241 $(MSWDIR)/tooltip.$(OBJSUFF) \
242 $(MSWDIR)/treectrl.$(OBJSUFF) \
243 $(MSWDIR)/utils.$(OBJSUFF) \
244 $(MSWDIR)/utilsexc.$(OBJSUFF) \
245 $(MSWDIR)/wave.$(OBJSUFF) \
246 $(MSWDIR)/window.$(OBJSUFF) \
247 $(MSWDIR)/xpmhand.$(OBJSUFF)
2bda0e17 248
c45a644e
RR
249ZLIBOBJS = \
250 $(ZLIBDIR)/adler32.$(OBJSUFF) \
251 $(ZLIBDIR)/compress.$(OBJSUFF) \
252 $(ZLIBDIR)/crc32.$(OBJSUFF) \
253 $(ZLIBDIR)/gzio.$(OBJSUFF) \
254 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
255 $(ZLIBDIR)/deflate.$(OBJSUFF) \
256 $(ZLIBDIR)/trees.$(OBJSUFF) \
257 $(ZLIBDIR)/zutil.$(OBJSUFF) \
258 $(ZLIBDIR)/inflate.$(OBJSUFF) \
259 $(ZLIBDIR)/infblock.$(OBJSUFF) \
260 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
261 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
262 $(ZLIBDIR)/infutil.$(OBJSUFF) \
263 $(ZLIBDIR)/inffast.$(OBJSUFF)
264
265PNGOBJS = \
266 $(PNGDIR)/png.$(OBJSUFF) \
267 $(PNGDIR)/pngread.$(OBJSUFF) \
268 $(PNGDIR)/pngrtran.$(OBJSUFF) \
269 $(PNGDIR)/pngrutil.$(OBJSUFF) \
270 $(PNGDIR)/pngpread.$(OBJSUFF) \
271 $(PNGDIR)/pngtrans.$(OBJSUFF) \
272 $(PNGDIR)/pngwrite.$(OBJSUFF) \
273 $(PNGDIR)/pngwtran.$(OBJSUFF) \
274 $(PNGDIR)/pngwutil.$(OBJSUFF) \
275 $(PNGDIR)/pngerror.$(OBJSUFF) \
276 $(PNGDIR)/pngmem.$(OBJSUFF) \
277 $(PNGDIR)/pngwio.$(OBJSUFF) \
278 $(PNGDIR)/pngrio.$(OBJSUFF) \
279 $(PNGDIR)/pngget.$(OBJSUFF) \
280 $(PNGDIR)/pngset.$(OBJSUFF)
281
282
283JPEGOBJS = \
284 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
285 $(JPEGDIR)/jutils.$(OBJSUFF) \
286 $(JPEGDIR)/jerror.$(OBJSUFF) \
287 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
288 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
289 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
290 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
291 $(JPEGDIR)/jctrans.$(OBJSUFF) \
292 $(JPEGDIR)/jcparam.$(OBJSUFF) \
293 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
294 $(JPEGDIR)/jcinit.$(OBJSUFF) \
295 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
296 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
297 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
298 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
299 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
300 $(JPEGDIR)/jccolor.$(OBJSUFF) \
301 $(JPEGDIR)/jcsample.$(OBJSUFF) \
302 $(JPEGDIR)/jchuff.$(OBJSUFF) \
303 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
304 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
305 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
306 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
307 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
308 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
309 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
310 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
311 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
312 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
313 $(JPEGDIR)/jdinput.$(OBJSUFF) \
314 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
315 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
316 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
317 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
318 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
319 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
320 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
321 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
322 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
323 $(JPEGDIR)/jidctint.$(OBJSUFF) \
324 $(JPEGDIR)/jidctred.$(OBJSUFF) \
325 $(JPEGDIR)/jdsample.$(OBJSUFF) \
326 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
327 $(JPEGDIR)/jquant1.$(OBJSUFF) \
328 $(JPEGDIR)/jquant2.$(OBJSUFF) \
329 $(JPEGDIR)/jdmerge.$(OBJSUFF)
330
4fabb575
JS
331XPMOBJECTS = $(XPMDIR)/crbuffri.o\
332 $(XPMDIR)/crdatfri.o\
333 $(XPMDIR)/create.o $(XPMDIR)/crifrbuf.o\
334 $(XPMDIR)/crifrdat.o\
335 $(XPMDIR)/data.o\
336 $(XPMDIR)/hashtab.o $(XPMDIR)/misc.o\
337 $(XPMDIR)/parse.o $(XPMDIR)/rdftodat.o\
338 $(XPMDIR)/rdftoi.o\
339 $(XPMDIR)/rgb.o $(XPMDIR)/scan.o\
340 $(XPMDIR)/simx.o $(XPMDIR)/wrffrdat.o\
341 $(XPMDIR)/wrffrp.o $(XPMDIR)/wrffri.o
74e34480 342
a3015c54 343OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) \
c45a644e 344 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS) # $(XPMOBJECTS)
2bda0e17
KB
345
346all: $(OBJECTS) $(WXLIB)
347
2bda0e17
KB
348$(WXLIB): $(OBJECTS) $(EXTRAOBJS)
349 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
350 $(RANLIB) $@
351
2bda0e17
KB
352$(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h
353
354$(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
6a570331
RR
355 $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
356
357$(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
358 copy ..\common\dosyacc.c ..\common\y_tab.c
359
360$(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
361 copy ..\common\doslex.c ..\common\lex_yy.c
2bda0e17
KB
362
363# Replace lex with flex if you run into compilation
364# problems with lex_yy.c. See also note about LEX_SCANNER
365# above.
6a570331
RR
366# $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
367# $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
368#
8870c26e
JS
369# Try one of these if the above line doesn't work.
370# Alternative syntax (1)
371# $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
372# Alternative syntax (2)
373# $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
6a570331 374#
2bda0e17
KB
375# sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
376# sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
377# sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
378# rm -f lex.yy.c
6a570331 379#
2bda0e17
KB
380# Replace yacc with bison if you run into compilation
381# problems with y_tab.c.
6a570331
RR
382#
383# $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
384# $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
385#
57c208c5
JS
386# If you use e.g. gcc on Unix, uncomment these lines
387# and comment out the above.
6a570331 388#
a1b82138 389# $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
57c208c5
JS
390# $(YACC) $(COMMDIR)/parser.y
391# mv y.tab.c $(COMMDIR)/y_tab.c
2bda0e17 392
2bda0e17 393clean:
6a570331 394 -erase *.o
77671fd2 395 -erase *.bak
6a570331
RR
396 -erase core
397 -erase ..\common\y_tab.c
398 -erase ..\common\lex_yy.c
399 -erase ..\common\*.o
77671fd2 400 -erase ..\common\*.bak
6a570331 401 -erase ..\generic\*.o
77671fd2 402 -erase ..\generic\*.bak
a3015c54 403 -erase ..\html\*.o
c45a644e 404 -erase ..\png\*.o
77671fd2 405 -erase ..\png\*.bak
c45a644e 406 -erase ..\zlib\*.o
77671fd2 407 -erase ..\zlib\*.bak
c45a644e 408 -erase ..\jpeg\*.o
a1925afc 409 -erase ..\..\lib\libwx.a
2bda0e17
KB
410
411cleanall: clean