source: app/src/gue/Makefile @ d33e555

help
Last change on this file since d33e555 was 8d3e6ab, checked in by pawelk <pawelk@…>, 17 years ago

Poprawilem wiekszosc makow pod katem poprawego kompilowania.
Wystepuje blad kompilacji dla gue.

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

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