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:
916 bytes
|
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 |
---|
[13a8a67] | 8 | g++ $(PAR) -D _CMDLINE_FILE=$(CMDLINE_FILE) \ |
---|
| 9 | tok.c cmdline.c common.o common_tok.o -o tok |
---|
[25ae32e] | 10 | |
---|
| 11 | tok.o: tok.c cmdline.h |
---|
[13a8a67] | 12 | g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) tok.c |
---|
[25ae32e] | 13 | |
---|
| 14 | common_tok.o: cmdline.h common_tok.cc common_tok.h |
---|
[13a8a67] | 15 | g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) common_tok.cc |
---|
[25ae32e] | 16 | |
---|
[13a8a67] | 17 | common.o: $(COMMON_PATH)/cmdline_common.ggo $(COMMON_PATH)/common.cc \ |
---|
| 18 | $(COMMON_PATH)/common.h |
---|
[25ae32e] | 19 | g++ $(PAR2) -D _CMDLINE_FILE=$(CMDLINE_FILE) $(COMMON_PATH)/common.cc |
---|
| 20 | |
---|
| 21 | cmdline.ggo: cmdline_tok.ggo ../common/cmdline_common.ggo |
---|
| 22 | cat cmdline_tok.ggo ../common/cmdline_common.ggo > cmdline.ggo |
---|
| 23 | |
---|
| 24 | cmdline.c cmdline.h: cmdline.ggo |
---|
| 25 | gengetopt -i cmdline.ggo --conf-parser |
---|
| 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.