mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-26 23:10:32 +00:00
Cleanup makefile (#1132)
This commit is contained in:
parent
ceb546e1da
commit
72cfda9e2e
12
Makefile
12
Makefile
@ -334,9 +334,9 @@ all: $(LIBRARY) $(ARCHIVE) $(PKGCFGF)
|
||||
ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
|
||||
@V=$(V) CC=$(CC) $(MAKE) -C cstool
|
||||
ifndef BUILDDIR
|
||||
cd tests && $(MAKE)
|
||||
$(MAKE) -C tests
|
||||
else
|
||||
cd tests && $(MAKE) BUILDDIR=$(BLDIR)
|
||||
$(MAKE) -C tests BUILDDIR=$(BLDIR)
|
||||
endif
|
||||
$(call install-library,$(BLDIR)/tests/)
|
||||
endif
|
||||
@ -407,7 +407,7 @@ clean:
|
||||
$(MAKE) -C cstool clean
|
||||
|
||||
ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
|
||||
cd tests && $(MAKE) clean
|
||||
$(MAKE) -C tests clean
|
||||
rm -f $(BLDIR)/tests/lib$(LIBNAME).$(EXT)
|
||||
endif
|
||||
|
||||
@ -416,9 +416,9 @@ ifdef BUILDDIR
|
||||
endif
|
||||
|
||||
ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY)))
|
||||
cd bindings/python && $(MAKE) clean
|
||||
cd bindings/java && $(MAKE) clean
|
||||
cd bindings/ocaml && $(MAKE) clean
|
||||
$(MAKE) -C bindings/python clean
|
||||
$(MAKE) -C bindings/java clean
|
||||
$(MAKE) -C bindings/ocaml clean
|
||||
endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user