diff options
author | yaberauneya <yaberauneya> | 2010-01-18 23:43:52 +0000 |
---|---|---|
committer | yaberauneya <yaberauneya> | 2010-01-18 23:43:52 +0000 |
commit | 21aab129bff6bae78222498523e5684ff9b10644 (patch) | |
tree | 155ecafce2c08c2696306a8e8238a88e7f755d7f /pan | |
parent | 7ad64b1e870f09a2c55517f020c6ad3f30dc328d (diff) |
Make ltp-scanner (the only item that requires bison/flex), optional.
It isn't invoked anywhere in the sourcebase from what I can see, but it could still be a functional / helpful utility...
Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Diffstat (limited to 'pan')
-rw-r--r-- | pan/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pan/Makefile b/pan/Makefile index 67910f9e6..4b8de15a0 100644 --- a/pan/Makefile +++ b/pan/Makefile @@ -33,7 +33,13 @@ LFLAGS += -l INSTALL_DIR := bin -MAKE_TARGETS := ltp-bump ltp-pan ltp-scanner +MAKE_TARGETS := ltp-bump ltp-pan + +ifeq ($(strip $(LEXLIB)),) +$(warning ltp-scanner will not be built because a working copy of lex was not found) +else +MAKE_TARGETS += ltp-scanner +endif ltp-bump: ltp-bump.o zoolib.o |