Changeset 1e121f4 for _old/app/src/kor


Ignore:
Timestamp:
10/26/10 10:57:54 (14 years ago)
Author:
Adam Kędziora <s301614@…>
Branches:
master
Children:
a6e708f
Parents:
f712e16
git-author:
Adam Kędziora <s301614@…> (10/26/10 10:57:54)
git-committer:
Adam Kędziora <s301614@…> (10/26/10 10:57:54)
Message:

Replacing old implementation with working implementation

Location:
_old/app/src/kor
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • _old/app/src/kor/Makefile

    r57728c1 r1e121f4  
    1 PAR=-Wno-deprecated -m32 -fpermissive -static 
    2 PAR2=-c -Wno-deprecated -m32 -fpermissive 
     1PAR=-Wno-deprecated -fpermissive -static 
     2PAR2=-c -Wno-deprecated -fpermissive 
    33LIB_PATH=../lib 
    44COMMON_PATH=../common 
     
    66 
    77 
    8 kor: main.cc corr.o corlist.o cmdline.o $(LIB_PATH)/word.o \ 
    9         $(LIB_PATH)/auttools.o cmdline.c common_cor.o common.o  
     8kor: main.cc corr.o corlist.o cmdline.o word.o auttools.o cmdline.c common_cor.o common.o  
    109        g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) main.cc corlist.o corr.o common.o \ 
    1110        $(LIB_PATH)/word.o $(LIB_PATH)/auttools.o cmdline.c common_cor.o \ 
    1211        -o kor 
    1312 
    14 corr.o: corr.cc corr.hh cmdline.h 
     13corr.o: corr.cc corr.h cmdline.h 
    1514        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) corr.cc 
    1615         
    1716corlist.o: corlist.cc corlist.h cmdline.h 
    18         g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) corlist.cc 
    19          
     17        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) corlist.cc  
    2018 
    21  
    22 common.o: cmdline.h $(COMMON_PATH)/cmdline_common.ggo $(COMMON_PATH)/common.cc \ 
    23          $(COMMON_PATH)/common.h 
     19common.o: cmdline.h $(COMMON_PATH)/cmdline_common.ggo cmdline_common 
    2420        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) $(COMMON_PATH)/common.cc 
    2521 
     
    4541        rm cmdline.* || true 
    4642 
     43include $(COMMON_PATH)/common.mk 
     44include $(LIB_PATH)/lib.mk 
  • _old/app/src/kor/corlist.cc

    r57728c1 r1e121f4  
    1 #include <stdio.h> 
    2 #include <malloc.h> 
     1#include <cstdio> 
     2//#include <alloc.h> 
    33#include "corlist.h" 
    44 
    55#define min(x,y) ((x<y)?(x):(y)) 
    66 
     7using namespace std; 
    78 
    89Weight CorList::GetValue(char X[100], char Y[100], Weight (*H2)[100], int i, int j) 
  • _old/app/src/kor/corr.cc

    r57728c1 r1e121f4  
    11//--------------------------------------------------------------------------- 
    22#include "common_cor.h" 
    3 #include "corr.hh" 
     3#include "corr.h" 
    44 
    55#define MAXPATH 256 
  • _old/app/src/kor/main.cc

    r57728c1 r1e121f4  
    33#include "../lib/iotools.h" 
    44#include "common_cor.h" 
    5 #include "corr.hh" 
     5#include "corr.h" 
    66#include <locale.h> 
    77 
Note: See TracChangeset for help on using the changeset viewer.