Last change
on this file since 1e121f4 was
1e121f4,
checked in by Adam Kędziora <s301614@…>, 14 years ago
|
Replacing old implementation with working implementation
|
-
Property mode set to
100755
|
File size:
1.2 KB
|
Rev | Line | |
---|
[1e121f4] | 1 | PAR=-Wno-deprecated -fpermissive -static |
---|
| 2 | PAR2=-c -Wno-deprecated -fpermissive |
---|
[ac7d970] | 3 | LIB_PATH=../lib |
---|
| 4 | COMMON_PATH=../common |
---|
| 5 | CMDLINE_FILE='"../kor/cmdline.h"' |
---|
| 6 | |
---|
| 7 | |
---|
[1e121f4] | 8 | kor: main.cc corr.o corlist.o cmdline.o word.o auttools.o cmdline.c common_cor.o common.o |
---|
[13a8a67] | 9 | g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) main.cc corlist.o corr.o common.o \ |
---|
[ac7d970] | 10 | $(LIB_PATH)/word.o $(LIB_PATH)/auttools.o cmdline.c common_cor.o \ |
---|
| 11 | -o kor |
---|
| 12 | |
---|
[1e121f4] | 13 | corr.o: corr.cc corr.h cmdline.h |
---|
[13a8a67] | 14 | g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) corr.cc |
---|
[ac7d970] | 15 | |
---|
| 16 | corlist.o: corlist.cc corlist.h cmdline.h |
---|
[1e121f4] | 17 | g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) corlist.cc |
---|
[ac7d970] | 18 | |
---|
[1e121f4] | 19 | common.o: cmdline.h $(COMMON_PATH)/cmdline_common.ggo cmdline_common |
---|
[ac7d970] | 20 | g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) $(COMMON_PATH)/common.cc |
---|
| 21 | |
---|
| 22 | common_cor.o: cmdline.h common_cor.cc common_cor.h |
---|
[13a8a67] | 23 | g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) common_cor.cc |
---|
[ac7d970] | 24 | |
---|
| 25 | cmdline.c cmdline.h: cmdline.ggo |
---|
| 26 | gengetopt -i cmdline.ggo --conf-parser |
---|
| 27 | |
---|
| 28 | cmdline.ggo: cmdline_cor.ggo $(COMMON_PATH)/cmdline_common.ggo |
---|
| 29 | cat cmdline_cor.ggo $(COMMON_PATH)/cmdline_common.ggo > cmdline.ggo |
---|
| 30 | |
---|
| 31 | copy: |
---|
| 32 | ifdef UTT_BIN_DIR |
---|
| 33 | cp kor ${UTT_BIN_DIR} |
---|
| 34 | endif |
---|
| 35 | |
---|
| 36 | clean: clean.cmdline |
---|
| 37 | rm *.o || true |
---|
| 38 | rm kor || true |
---|
| 39 | |
---|
| 40 | clean.cmdline: |
---|
| 41 | rm cmdline.* || true |
---|
| 42 | |
---|
[1e121f4] | 43 | include $(COMMON_PATH)/common.mk |
---|
| 44 | include $(LIB_PATH)/lib.mk |
---|
Note: See
TracBrowser
for help on using the repository browser.