This commit is contained in:
olari
2021-06-05 21:10:25 +03:00
parent 807cffd9de
commit e0e0f2be99
923 changed files with 911857 additions and 15 deletions

43
idasdk75/makefile Normal file
View File

@@ -0,0 +1,43 @@
include allmake.mak
.PHONY: env alldirs
all: env alldirs
#----------------------------------------------------------------------
ifdef __NT__
ENV += env_vc
endif
env: $(ENV)
env_vc:
$(Q)$(MAKE) -f makeenv_vc.mak
$(Q)$(MAKE) -C bin
#----------------------------------------------------------------------
ifdef BUILD_IDA
ALLDIRS += ldr
ALLDIRS += module
ALLDIRS += plugins
endif
ALLDIRS += dbg
alldirs: $(ALLDIRS)
$(ALLDIRS): env
$(MAKE) -C $@
#----------------------------------------------------------------------
CLEAN_BIN_FILES += *.cfg
CLEAN_BIN_FILES += *.dll
CLEAN_BIN_FILES += *.dylib
CLEAN_BIN_FILES += *.idc
CLEAN_BIN_FILES += *.py
CLEAN_BIN_FILES += *.so
clean::
find . -depth -type d -name "obj" -execdir rm -rf "{}" \;
find . -maxdepth 1 -type f -name '*.cfg*' -delete
find bin -type f \( -name $(subst $(space), -o -name ,$(patsubst %,"%",$(CLEAN_BIN_FILES))) \) -delete
build-all-opt:
$(MAKE) -s NDEBUG=1 __EA64__= __X64__=
$(MAKE) -s NDEBUG=1 __EA64__= __X64__=1
$(MAKE) -s NDEBUG=1 __EA64__=1 __X64__=1