mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-23 06:14:53 +00:00
aed141180e
- Move t/test_anal to binr/ranal2 - Add support for static/dynamic plugins - Add flag '-B' for binary input - Add support for ascci hexpairs - Now input can be given through argv or stdin - Output analyzed bytes * r_asm & r_anal - Improve output of r_*_list --HG-- rename : libr/anal/t/test_anal.c => binr/ranal2/ranal2.c
37 lines
949 B
Makefile
37 lines
949 B
Makefile
include ../config-user.mk
|
|
|
|
.PHONY: all clean install install-symlink deinstall uninstall mrproper
|
|
|
|
PFX=${DESTDIR}${PREFIX}
|
|
|
|
BINS=rax2 rasm2 rabin2 rahash2 radiff2 radare2 rafind2 rarc2 ranal2
|
|
|
|
all:
|
|
@for a in ${BINS} ; do (cd $$a && ${MAKE} all) || exit 1; done
|
|
|
|
install:
|
|
mkdir -p ${PFX}/bin
|
|
for a in ${BINS} ; do ${INSTALL_PROGRAM} $$a/$$a ${PFX}/bin ; done
|
|
# rarc2
|
|
cp rarc2/rarc2 ${PFX}/bin
|
|
cp rarc2/rarc2-tool ${PFX}/bin
|
|
# shortcut
|
|
-cd ${PFX}/bin && rm -f r2 ; ln -fs radare2 r2
|
|
|
|
install-symlink:
|
|
mkdir -p ${PFX}/bin
|
|
for a in ${BINS} ; do ln -fs ${PWD}/$$a/$$a ${PFX}/bin/$$a ; done
|
|
ln -fs ${PWD}/rarc2/rarc2-tool ${PFX}/bin/rarc2-tool
|
|
-ln -fs ${PFX}/bin/radare2 ${PFX}/bin/r2
|
|
|
|
deinstall uninstall:
|
|
for a in ${BINS} ; do rm -f ${PFX}/bin/$$a ; done
|
|
rm -f ${PFX}/bin/rarc2-tool
|
|
-rm -f ${PFX}/bin/r2
|
|
|
|
clean:
|
|
@for a in ${BINS} ; do (cd $$a && ${MAKE} clean); done
|
|
|
|
mrproper:
|
|
@for a in ${BINS} ; do (cd $$a && ${MAKE} mrproper); done
|