Changeset 13a8a67 for app/src/cor


Ignore:
Timestamp:
05/01/08 22:27:23 (17 years ago)
Author:
pawelk <pawelk@…>
Branches:
master, help
Children:
df77b87
Parents:
28e9ae0
git-author:
pawelk <pawelk@…> (05/01/08 22:27:23)
git-committer:
pawelk <pawelk@…> (05/01/08 22:27:23)
Message:

Przejrzalem narzedzia pod katem includow CMDLINE_FILE.
Gdzie mozna bylo, usunalem.
Jest pewien balagan w Makefile'ach, bo nadmiarowo dodalem -D ....
Calosc sie kompiluje i generuje sie tarball.

git-svn-id: svn://atos.wmid.amu.edu.pl/utt@36 e293616e-ec6a-49c2-aa92-f4a8b91c5d16

Location:
app/src/cor
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • app/src/cor/Makefile

    r8d3e6ab r13a8a67  
    99cor: main.cc corr.o $(LIB_PATH)/word.o \ 
    1010        $(LIB_PATH)/auttools.o cmdline.c common_cor.o common.o  
    11         g++ $(PAR) main.cc corr.o common.o \ 
     11        g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) main.cc corr.o common.o \ 
    1212        $(LIB_PATH)/word.o $(LIB_PATH)/auttools.o cmdline.c common_cor.o \ 
    1313        -o cor 
     
    2121 
    2222common_cor.o: cmdline.h common_cor.cc common_cor.h 
    23         g++ $(PAR2) common_cor.cc 
     23        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) common_cor.cc 
    2424 
    2525cmdline.c cmdline.h: cmdline.ggo 
  • app/src/cor/common_cor.h

    r25ae32e r13a8a67  
    44#include <stdio.h> 
    55 
    6 #define _CMDLINE_FILE "../cor/cmdline.h" 
     6//do wyrzucenia - definicja w Makefile! #define _CMDLINE_FILE "../cor/cmdline.h" 
    77#include "../common/common.h" 
    88 
  • app/src/cor/main.cc

    r25ae32e r13a8a67  
    22#include <ctype.h> 
    33#include "../lib/iotools.h" 
    4 #define _CMDLINE_FILE "../cor/cmdline.h" 
     4//do wyrzucenia - definicja w Makefile! #define _CMDLINE_FILE "../cor/cmdline.h" 
    55#include "../common/common.h" 
    66#include "common_cor.h" 
Note: See TracChangeset for help on using the changeset viewer.