source: _old/app/src/gue/Makefile @ 57728c1

Last change on this file since 57728c1 was 57728c1, checked in by Mateusz Hromada <ruanda@…>, 15 years ago

Move old files to _old dir.

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[e28a625]1PAR=-Wno-deprecated -O3 -fpermissive -m32 -static
[8d3e6ab]2PAR2=-c -Wno-deprecated -O3 -fpermissive -m32
[25ae32e]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
[8d3e6ab]27cmdline.ggo: cmdline_guess.ggo $(COMMON_PATH)/cmdline_common.ggo
28        cat cmdline_guess.ggo $(COMMON_PATH)/cmdline_common.ggo > cmdline.ggo
[25ae32e]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.