PAR=-Wno-deprecated -O3 -fpermissive -m32 -static PAR2=-c -Wno-deprecated -O3 -fpermissive -m32 LIB_PATH=../lib COMMON_PATH=../common CMDLINE_FILE='"../gue/cmdline.h"' gue: main.cc guess.o $(LIB_PATH)/auttools.o $(LIB_PATH)/word.o \ cmdline.c common_guess.o common.o g++ $(PAR) main.cc guess.o \ $(LIB_PATH)/auttools.o $(LIB_PATH)/word.o cmdline.c common.o common_guess.o \ -o gue guess.o: guess.h guess.cc g++ $(PAR2) guess.cc common_guess.o: cmdline.h common_guess.cc common_guess.h g++ $(PAR2) common_guess.cc common.o: $(COMMON_PATH)/cmdline_common.ggo $(COMMON_PATH)/common.cc \ $(COMMON_PATH)/common.h g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) $(COMMON_PATH)/common.cc cmdline.c cmdline.h: cmdline.ggo gengetopt -i cmdline.ggo --conf-parser cmdline.ggo: cmdline_guess.ggo $(COMMON_PATH)/cmdline_common.ggo cat cmdline_guess.ggo $(COMMON_PATH)/cmdline_common.ggo > cmdline.ggo clean: clean.cmdline rm *.o || true rm gue || true clean.cmdline: rm cmdline.* || true copy: ifdef UTT_BIN_DIR cp gue ${UTT_BIN_DIR} endif