rizin/libr/parse/Makefile
pancake c7cced5c67 * Use null fot unsupported plugins
* Fix startup segfault in r_reg doublefree
2011-10-08 23:39:06 +02:00

21 lines
435 B
Makefile

NAME=r_parse
DEPS=r_lib r_flags r_util r_anal
-include ../config.mk
foo: pre libr_parse.${EXT_SO} libr_parse.${EXT_AR} plugins bins
CFLAGS+=-DCORELIB
-include ${STATIC_PARSE_PLUGINS}
STATIC_OBJS=$(subst ..,p/..,$(subst parse_,p/parse_,$(STATIC_OBJ)))
OBJ=parse.o ${STATIC_OBJS}
bins:
@cd t && ${MAKE} all
pre:
@if [ ! -e libr_parse.${EXT_SO} ]; then rm -f ${STATIC_OBJS} ; fi
plugins:
@cd p && ${MAKE} all
include ../rules.mk