mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 23:50:40 +00:00
22 lines
512 B
Makefile
22 lines
512 B
Makefile
BIN=libr2
|
|
ISLIB=1
|
|
BINDEPS=r_core r_parse r_search r_cons r_config
|
|
BINDEPS+=r_bin r_debug r_anal r_reg r_bp r_io
|
|
BINDEPS+=r_lang r_asm r_syscall r_db r_hash r_crypto
|
|
BINDEPS+=r_magic r_socket r_flags r_util r_egg r_fs
|
|
|
|
include ../rules.mk
|
|
|
|
ifeq ($(OSTYPE),android)
|
|
LDFLAGS+=${DL_LIBS} -lm
|
|
endif
|
|
ifeq ($(OSTYPE),gnulinux)
|
|
LDFLAGS+=-Wl,-soname,libr2.${EXT_SO}.${VERSION}
|
|
endif
|
|
include ../../libr/socket/deps.mk
|
|
include ../../shlr/zip/deps.mk
|
|
include ../../shlr/gdb/deps.mk
|
|
|
|
clean::
|
|
rm -f $(BIN).$(EXT_SO) $(BIN).o
|