radare2/libr/crypto/Makefile
pancake 8ba7b6b043 * Many build fixes for mingw32
- 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
2010-01-15 01:32:28 +01:00

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