source: app/src/gue/Makefile @ e1b08a2

help
Last change on this file since e1b08a2 was 25ae32e, checked in by obrebski <obrebski@…>, 17 years ago

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

  • Property mode set to 100644
File size: 1.0 KB
Line 
1PAR=-Wno-deprecated -O3 -fpermissive -static
2PAR2=-c -Wno-deprecated -O3 -fpermissive
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/cmdline_common.ggo
28        cat cmdline_guess.ggo ../common/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.