"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "xocr/Makefile" of archive xocr_5.german.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 ############################################################
    2 # Please modify the following 2 lines:                     #
    3 #                                                          #
    4 # LIBPATH     => your path to the lib-files ( X11 )        #
    5 # INCPATH     => your path to the include-files ( X11 )    #
    6 #                                                          #
    7 ############################################################
    8 LIBPATH           = -L/usr/X11/lib 
    9  
   10 INCPATH           = -I/usr/X11/include
   11 
   12 LIB               = -lX11 -lm 
   13 OBJ_XOCR          =  main.o  ocr.o wsa.o win.o  baum.o  semantik.o
   14 OBJ_OCR           = Omain.o Oocr.o wsa.o win.o Obaum.o Osemantik.o
   15 TARGET_FILE_XOCR  = xocr
   16 TARGET_FILE_OCR   = ocr
   17 
   18 #                   -02      = enable all optimazions 
   19 #                       -s   = make output smaller (without debug/link-informations)
   20 OPTION            = -O2 -s
   21 
   22 # if yu dont have "gcc" use instead of "gcc" "cc"   
   23 CC          = gcc
   24 
   25 
   26 $(TARGET_FILE_OCR): $(OBJ_XOCR) $(OBJ_OCR)
   27 	$(CC) $(OPTION) -o $(TARGET_FILE_XOCR) $(OBJ_XOCR) $(LIBPATH) $(INCPATH) $(LIB) 
   28 	$(CC) $(OPTION) -o $(TARGET_FILE_OCR)  $(OBJ_OCR)  $(LIBPATH) $(INCPATH) $(LIB)
   29 ocr.o: ocr.c 
   30 	$(CC) $(OPTION) -c ocr.c 
   31 main.o: main.c
   32 	$(CC) $(OPTION) -c main.c $(LIBPATH) $(INCPATH)
   33 win.o:	win.c
   34 	$(CC) $(OPTION) -c win.c $(LIBPATH) $(INCPATH) 
   35 wsa.o:	wsa.c
   36 	$(CC) $(OPTION) -c wsa.c 
   37 baum.o: baum.c
   38 	$(CC) $(OPTION) -c baum.c 
   39 semantik.o: semantik.c
   40 	$(CC) $(OPTION) -c semantik.c  $(LIBPATH) $(INCPATH)
   41 Oocr.o: Oocr.c
   42 	$(CC) $(OPTION) -c Oocr.c
   43 Omain.o: Omain.c
   44 	$(CC) $(OPTION) -c Omain.c $(LIBPATH) $(INCPATH)
   45 Obaum.o: Obaum.c
   46 	$(CC) $(OPTION) -c Obaum.c
   47 Osemantik.o: Osemantik.c
   48 	$(CC) $(OPTION) -c Osemantik.c  $(LIBPATH) $(INCPATH)