source: app/src/gue/Makefile @ 12743b9

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