mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 11:43:39 +00:00
8ba7b6b043
- See doc/windows * Rename config.mk to global.mk - Avoid name collision (cascade includes in rules.mk) * Added ${EXT_EXE} in some test program directories * Split rules.mk into config.mk - Some scripts just need to get the environ (config.mk) - They dont need the rules --HG-- rename : config.mk => global.mk
27 lines
489 B
Makefile
27 lines
489 B
Makefile
NAME=r_crypto
|
|
DEPS=r_lib
|
|
CFLAGS+=-DCORELIB
|
|
|
|
include ../config.mk
|
|
|
|
foo: pre libr_crypto.${EXT_SO} libr_crypto.${EXT_AR} plugins
|
|
|
|
include ${STATIC_CRYPTO_PLUGINS}
|
|
STATIC_OBJS=$(subst ..,p/..,$(subst crypto_,p/crypto_,$(STATIC_OBJ)))
|
|
OBJ=${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
|