make test work when LIBTCC1 not defined

Make libtest depends on LIBTCC1 instead of ../libtcc1.a and define
LIBTCC1 to $(TOP)/$(LIBTCC1) if LIBTCC1 is defined
This commit is contained in:
Thomas Preud'homme
2011-05-14 16:21:45 +02:00
committed by Thomas Preud'homme
parent c449ef2e1f
commit eb152022a0
2 changed files with 7 additions and 1 deletions

View File

@ -331,6 +331,8 @@ tar:
rm -rf /tmp/$(TCC-VERSION)
# in tests subdir
export LIBTCC1
%est:
$(MAKE) -C tests $@