source: app/src/kor/Makefile @ 8e1730c

Last change on this file since 8e1730c was e28a625, checked in by obrebski <obrebski@…>, 16 years ago

Ta linia i następne zostaną zignorowane--

M app/dist/files/README

uaktualnione

M app/doc/utt.texinfo

dopiski

M app/src/gue/Makefile

statyczne biblioteki

M app/src/cor/cmdline_cor.ggo

usuniecie nie dzialajacych parametrow

M app/src/cor/Makefile

statyczne biblioteki

M app/src/common/cmdline_common.ggo

?

M app/src/kor/Makefile

statyczne biblioteki

M app/src/lem/Makefile

statyczne biblioteki

M lang/dist/tarball/Makefile

pakowanie modulow jezykowych po jednym

M lang/Makefile

-"-

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

  • Property mode set to 100755
File size: 1.2 KB
Line 
1PAR=-Wno-deprecated -m32 -fpermissive -static
2PAR2=-c -Wno-deprecated -m32 -fpermissive
3LIB_PATH=../lib
4COMMON_PATH=../common
5CMDLINE_FILE='"../kor/cmdline.h"'
6
7
8kor: main.cc corr.o corlist.o cmdline.o $(LIB_PATH)/word.o \
9        $(LIB_PATH)/auttools.o cmdline.c common_cor.o common.o
10        g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) main.cc corlist.o corr.o common.o \
11        $(LIB_PATH)/word.o $(LIB_PATH)/auttools.o cmdline.c common_cor.o \
12        -o kor
13
14corr.o: corr.cc corr.hh cmdline.h
15        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) corr.cc
16       
17corlist.o: corlist.cc corlist.h cmdline.h
18        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) corlist.cc
19       
20
21
22common.o: cmdline.h $(COMMON_PATH)/cmdline_common.ggo $(COMMON_PATH)/common.cc \
23         $(COMMON_PATH)/common.h
24        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) $(COMMON_PATH)/common.cc
25
26common_cor.o: cmdline.h common_cor.cc common_cor.h
27        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) common_cor.cc
28
29cmdline.c cmdline.h: cmdline.ggo
30        gengetopt -i cmdline.ggo --conf-parser
31
32cmdline.ggo: cmdline_cor.ggo $(COMMON_PATH)/cmdline_common.ggo
33        cat cmdline_cor.ggo $(COMMON_PATH)/cmdline_common.ggo > cmdline.ggo
34
35copy:
36ifdef UTT_BIN_DIR
37        cp kor ${UTT_BIN_DIR}
38endif
39
40clean: clean.cmdline
41        rm *.o || true
42        rm kor || true
43
44clean.cmdline:
45        rm cmdline.* || true
46
Note: See TracBrowser for help on using the repository browser.