add 'test' to main Makefile

This commit is contained in:
Jonathon Reinhart 2015-09-20 21:39:35 -04:00
parent 46ee860084
commit 1be8ef69c8

View file

@ -249,6 +249,11 @@ else
endif
.PHONY: test
test: all
$(MAKE) -C test/unit test
install: all $(PKGCFGF)
mkdir -p $(LIBDIR)
ifeq ($(UNICORN_SHARED),yes)
@ -302,6 +307,7 @@ ifeq (,$(findstring yes,$(UNICORN_BUILD_CORE_ONLY)))
cd samples && $(MAKE) clean
rm -f $(BLDIR)/samples/lib$(LIBNAME).$(EXT)
endif
$(MAKE) -C test/unit clean
ifdef BUILDDIR
rm -rf $(BUILDDIR)