Makefile: build tests in the old way if BUILDDIR is not defined. this fixes a bug introduced by some recent changes by Ole André Vadla Ravnås
This commit is contained in:
parent
7a7343945d
commit
375f03c230
4
Makefile
4
Makefile
|
@ -254,7 +254,11 @@ PKGCFGF = $(BLDIR)/$(LIBNAME).pc
|
|||
.PHONY: all clean install uninstall dist
|
||||
|
||||
all: $(LIBRARY) $(ARCHIVE) $(PKGCFGF)
|
||||
ifndef BUILDDIR
|
||||
$(MAKE) -C tests
|
||||
else
|
||||
$(MAKE) -C tests BUILDDIR=$(BLDIR)
|
||||
endif
|
||||
$(INSTALL_DATA) $(BLDIR)/lib$(LIBNAME).$(EXT) $(BLDIR)/tests/
|
||||
|
||||
$(LIBRARY): $(LIBOBJ)
|
||||
|
|
Loading…
Reference in New Issue