radare2/binr/Makefile
Nibble aed141180e * ranal2
- 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
2010-08-24 22:16:03 +02:00

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