add 'test' to main Makefile
This commit is contained in:
6
Makefile
6
Makefile
@ -249,6 +249,11 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
|
test: all
|
||||||
|
$(MAKE) -C test/unit test
|
||||||
|
|
||||||
|
|
||||||
install: all $(PKGCFGF)
|
install: all $(PKGCFGF)
|
||||||
mkdir -p $(LIBDIR)
|
mkdir -p $(LIBDIR)
|
||||||
ifeq ($(UNICORN_SHARED),yes)
|
ifeq ($(UNICORN_SHARED),yes)
|
||||||
@ -302,6 +307,7 @@ ifeq (,$(findstring yes,$(UNICORN_BUILD_CORE_ONLY)))
|
|||||||
cd samples && $(MAKE) clean
|
cd samples && $(MAKE) clean
|
||||||
rm -f $(BLDIR)/samples/lib$(LIBNAME).$(EXT)
|
rm -f $(BLDIR)/samples/lib$(LIBNAME).$(EXT)
|
||||||
endif
|
endif
|
||||||
|
$(MAKE) -C test/unit clean
|
||||||
|
|
||||||
ifdef BUILDDIR
|
ifdef BUILDDIR
|
||||||
rm -rf $(BUILDDIR)
|
rm -rf $(BUILDDIR)
|
||||||
|
Reference in New Issue
Block a user