Changeset 13a8a67 for app/src/lem


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

Legend:

Unmodified
Added
Removed
  • app/src/lem/Makefile

    r25ae32e r13a8a67  
    99lem: main.cc lem.o  $(LIB_PATH)/auttools.o $(LIB_PATH)/word.o \ 
    1010      cmdline.c common_lem.o common.o symtab.o 
    11         g++ $(PAR) main.cc lem.o $(LIB_PATH)/auttools.o \ 
     11        g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) \ 
     12        main.cc lem.o $(LIB_PATH)/auttools.o \ 
    1213        $(LIB_PATH)/word.o cmdline.c common.o common_lem.o \ 
    1314        symtab.o -o lem 
    1415 
    1516lem.o: lem.h lem.cc 
    16         g++ $(PAR2) lem.cc 
     17        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) lem.cc 
    1718 
    1819# alphabet.o: $(LIB_PATH)/alphabet.h $(LIB_PATH)/alphabet.cc 
     
    3334 
    3435common_lem.o: cmdline.h common_lem.h common_lem.cc 
    35         g++ $(PAR2) common_lem.cc 
     36        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) common_lem.cc 
    3637 
    3738cmdline.c cmdline.h: cmdline.ggo 
  • app/src/lem/common_lem.h

    r25ae32e r13a8a67  
    33 
    44#include <stdio.h> 
    5 #define _CMDLINE_FILE "../lem/cmdline.h" 
    65#include "../common/common.h" 
    76 
  • app/src/lem/main.cc

    r8abee07 r13a8a67  
    11#include "../lib/iotools.h" 
    2 #define _CMDLINE_FILE "../lem/cmdline.h" 
     2//do wyrzucenia - definicja w Makefile! #define _CMDLINE_FILE "../lem/cmdline.h" 
    33#include "../common/common.h" 
    44#include "common_lem.h" 
Note: See TracChangeset for help on using the changeset viewer.