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