Cleanup makefile (#1132)
This commit is contained in:
parent
37569a6874
commit
ecdaa6059c
12
Makefile
12
Makefile
|
@ -345,9 +345,9 @@ all: $(LIBRARY) $(ARCHIVE) $(PKGCFGF)
|
||||||
ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
|
ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
|
||||||
@V=$(V) CC=$(CC) $(MAKE) -C cstool
|
@V=$(V) CC=$(CC) $(MAKE) -C cstool
|
||||||
ifndef BUILDDIR
|
ifndef BUILDDIR
|
||||||
cd tests && $(MAKE)
|
$(MAKE) -C tests
|
||||||
else
|
else
|
||||||
cd tests && $(MAKE) BUILDDIR=$(BLDIR)
|
$(MAKE) -C tests BUILDDIR=$(BLDIR)
|
||||||
endif
|
endif
|
||||||
$(call install-library,$(BLDIR)/tests/)
|
$(call install-library,$(BLDIR)/tests/)
|
||||||
endif
|
endif
|
||||||
|
@ -422,7 +422,7 @@ clean:
|
||||||
$(MAKE) -C cstool clean
|
$(MAKE) -C cstool clean
|
||||||
|
|
||||||
ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
|
ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
|
||||||
cd tests && $(MAKE) clean
|
$(MAKE) -C tests clean
|
||||||
rm -f $(BLDIR)/tests/lib$(LIBNAME).$(EXT)
|
rm -f $(BLDIR)/tests/lib$(LIBNAME).$(EXT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -431,9 +431,9 @@ ifdef BUILDDIR
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
|
ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
|
||||||
cd bindings/python && $(MAKE) clean
|
$(MAKE) -C bindings/python clean
|
||||||
cd bindings/java && $(MAKE) clean
|
$(MAKE) -C bindings/java clean
|
||||||
cd bindings/ocaml && $(MAKE) clean
|
$(MAKE) -C bindings/ocaml clean
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue