]> www.wagner.pp.ru Git - oss/catdoc.git/blob - src/makefile.tc
Erroneusly inserted data removed
[oss/catdoc.git] / src / makefile.tc
1 CC=tcc
2 TCDIR=c:\tc
3 LIB=$(TCDIR)\lib
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
6 .c.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
19         
20 catdoc.lib: $(OBJ) catdoc.rsp
21         tlib /E catdoc @catdoc.rsp
22 clean:
23         del *.obj
24         del *.exe
25         del *.lib