help
Rev | Line | |
---|
[25ae32e] | 1 | PAR=-Wno-deprecated -O3 |
---|
| 2 | PAR2=-c -Wno-deprecated -O3 |
---|
| 3 | LIB_PATH=../lib |
---|
| 4 | CMDLINE_FILE='"../tok.c/cmdline.h"' |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | tok: tok.o cmdline.c common_tok.o common.o |
---|
| 8 | g++ $(PAR) tok.c cmdline.c common.o common_tok.o -o tok |
---|
| 9 | |
---|
| 10 | tok.o: tok.c cmdline.h |
---|
| 11 | g++ $(PAR2) tok.c |
---|
| 12 | |
---|
| 13 | common_tok.o: cmdline.h common_tok.cc common_tok.h |
---|
| 14 | g++ $(PAR2) common_tok.cc |
---|
| 15 | |
---|
| 16 | common.o: $(COMMON_PATH)/cmdline_common.ggo $(COMMON_PATH)/common.cc\ |
---|
| 17 | $(COMMON_PATH)/common.h |
---|
| 18 | g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) $(COMMON_PATH)/common.cc |
---|
| 19 | |
---|
| 20 | cmdline.ggo: cmdline_tok.ggo ../common/cmdline_common.ggo |
---|
| 21 | cat cmdline_tok.ggo ../common/cmdline_common.ggo > cmdline.ggo |
---|
| 22 | |
---|
| 23 | cmdline.c cmdline.h: cmdline.ggo |
---|
| 24 | gengetopt -i cmdline.ggo --conf-parser |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | copy: |
---|
| 28 | ifdef UTT_BIN_DIR |
---|
| 29 | cp tok ${UTT_BIN_DIR}/ |
---|
| 30 | endif |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | clean: clean.cmdline |
---|
| 34 | rm *.o |
---|
| 35 | |
---|
| 36 | clean.cmdline: |
---|
| 37 | rm cmdline.* |
---|
Note: See
TracBrowser
for help on using the repository browser.