source: app/src/cor/Makefile @ 9a36761

Last change on this file since 9a36761 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 100644
File size: 1.1 KB
RevLine 
[e28a625]1PAR=-Wno-deprecated -m32 -fpermissive -static
[25ae32e]2PAR2=-c -Wno-deprecated -m32 -fpermissive
3LIB_PATH=../lib
4COMMON_PATH=../common
5CMDLINE_FILE='"../cor/cmdline.h"'
6
7
8cor: main.cc corr.o $(LIB_PATH)/word.o \
9        $(LIB_PATH)/auttools.o cmdline.c common_cor.o common.o
[13a8a67]10        g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) main.cc corr.o common.o \
[25ae32e]11        $(LIB_PATH)/word.o $(LIB_PATH)/auttools.o cmdline.c common_cor.o \
12        -o cor
13
14corr.o: corr.cc corr.hh
15        g++ $(PAR2) corr.cc
16
17common.o: $(COMMON_PATH)/cmdline_common.ggo $(COMMON_PATH)/common.cc \
18         $(COMMON_PATH)/common.h
19        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) $(COMMON_PATH)/common.cc
20
21common_cor.o: cmdline.h common_cor.cc common_cor.h
[13a8a67]22        g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) common_cor.cc
[25ae32e]23
24cmdline.c cmdline.h: cmdline.ggo
25        gengetopt -i cmdline.ggo --conf-parser
26
[8d3e6ab]27cmdline.ggo: cmdline_cor.ggo $(COMMON_PATH)/cmdline_common.ggo
28        cat cmdline_cor.ggo $(COMMON_PATH)/cmdline_common.ggo > cmdline.ggo
[25ae32e]29
30copy:
31ifdef UTT_BIN_DIR
32        cp cor ${UTT_BIN_DIR}
33endif
34
35clean: clean.cmdline
36        rm *.o || true
37        rm cor || true
38
39clean.cmdline:
40        rm cmdline.* || true
41
Note: See TracBrowser for help on using the repository browser.