4 CFLAGS=-v -w -mc -DHAVE_LANGINFO -DHAVE_STRDUP -DCATDOC_VERSION="0.94.2"
5 OBJ=charsets.obj substmap.obj reader.obj writer.obj fileutil.obj langinfo.obj analyze.obj confutil.obj rtfread.obj numutils.obj sheet.obj xlsparse.obj ole.obj strftime.obj pptparse.obj
7 $(CC) -v -c -mc -I../compat $(CFLAGS) $*
8 all: catdoc.exe xls2csv.exe catppt.exe
9 catdoc.exe: catdoc.obj catdoc.lib
10 $(CC) -v -mc catdoc.obj catdoc.lib
11 xls2csv.exe: xls2csv.obj catdoc.lib
12 $(CC) -v -mc xls2csv.obj catdoc.lib
13 catppt.exe: catppt.obj catdoc.lib
14 $(CC) -v -mc catppt.obj catdoc.lib
15 langinfo.obj: ..\compat\langinfo.c
16 $(CC) -c -I../compat $(CFLAGS) ../compat/langinfo.c
17 strftime.obj: ..\compat\strftime.c
18 $(CC) -c -I../compat $(CFLAGS) ../compat/strftime.c
20 catdoc.lib: $(OBJ) catdoc.rsp
21 tlib /E catdoc @catdoc.rsp