Changeset 1e121f4 for _old/app/src/lem


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/lem
Files:
2 edited

Legend:

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

    r57728c1 r1e121f4  
    1 PAR=-Wno-deprecated -m32 -O3 -fpermissive -static 
    2 PAR2=-c -Wno-deprecated -m32 -O3 -fpermissive -static 
     1PAR=-Wno-deprecated -O2 -fpermissive -static 
     2PAR2=-c -Wno-deprecated -O2 -fpermissive -static 
    33LIB_PATH=../lib 
    44COMMON_PATH=../common 
     
    66 
    77 
    8 lem: main.cc lem.o  $(LIB_PATH)/auttools.o $(LIB_PATH)/word.o \ 
    9       cmdline.c common_lem.o common.o symtab.o 
     8lem: main.cc lem.o auttools.o word.o cmdline.c common_lem.o common.o symtab.o 
    109        g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) \ 
    1110        main.cc lem.o $(LIB_PATH)/auttools.o \ 
     
    2827#       g++ $(PAR2) $(LIB_PATH)/erro.cc 
    2928 
    30 common.o: $(COMMON_PATH)/cmdline_common.ggo $(COMMON_PATH)/common.cc \ 
    31          $(COMMON_PATH)/common.h 
     29common.o: cmdline_common 
    3230        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) $(COMMON_PATH)/common.cc 
    3331 
     
    3836        gengetopt -i cmdline.ggo --conf-parser 
    3937 
    40 cmdline.ggo: cmdline_lem.ggo ../common/cmdline_common.ggo 
     38cmdline.ggo: cmdline_lem.ggo $(COMMON_PATH)/cmdline_common.ggo 
    4139        cat cmdline_lem.ggo ../common/cmdline_common.ggo > cmdline.ggo 
    4240 
     
    5553        cp lem $(UTT_BIN_DIR) 
    5654endif 
     55 
     56include $(COMMON_PATH)/common.mk 
     57include $(LIB_PATH)/lib.mk 
  • _old/app/src/lem/lem.cc

    r57728c1 r1e121f4  
    11#include "lem.h" 
    22 
    3 #include <stdlib.h> 
    43#include <assert.h> 
     4#include <cstdlib> 
    55 
     6 
     7 
     8using namespace std; 
    69 
    710/* Znajduje opisy slownikowe dla wyrazu. 
Note: See TracChangeset for help on using the changeset viewer.