radare2/libr/crypto/Makefile
pancake 69a12884ed Simplify the build system
doc.sw has been moved to radare2-extras
2012-10-03 14:31:35 +02:00

28 lines
524 B
Makefile

NAME=r_crypto
DEPS=r_lib
CFLAGS+=-DCORELIB
include ../config.mk
foo:
for a in pre libr_crypto.${EXT_SO} libr_crypto.${EXT_AR} plugins ; do ${MAKE} $$a ; done
include ${STATIC_CRYPTO_PLUGINS}
STATIC_OBJS=$(subst ..,p/..,$(subst crypto_,p/crypto_,$(STATIC_OBJ)))
OBJS=${STATIC_OBJS} crypto.o
pre:
@if [ ! -e libr_crypto.${EXT_SO} ]; then rm -f ${STATIC_OBJS} ; fi
re:
rm -f crypto.o libr_crypto.so
${MAKE}
rm -f t/fastcall.o
sudo ${MAKE} install
cd t && ${MAKE}
plugins:
cd p && ${MAKE} all
include ../rules.mk