[functional-tests] fix build with testing disabled (#88)

The rule for lib/libft.so is only enabled with --enable-testing,
so the default target shouldn't depend unconditionally on it.
With the default configure options, the build failed with:
make: *** No rule to make target 'lib/libft.so', needed by 'all'.  Stop.
This commit is contained in:
Adam Sampson 2017-10-16 13:07:36 +01:00 committed by Joe Thornber
parent d74823fd53
commit 8d75be8112
1 changed files with 6 additions and 1 deletions

View File

@ -21,8 +21,13 @@ V=@
PROGRAMS=\
bin/pdata_tools
ifeq ("@TESTING@", "yes")
TESTLIBS=\
lib/libft.so
endif
.PHONY: all
all: $(PROGRAMS) lib/libft.so
all: $(PROGRAMS) $(TESTLIBS)
SOURCE=\
base/output_file_requirements.cc \