radare2/libr/parse/Makefile
2010-01-15 01:56:43 +01:00

22 lines
404 B
Makefile

NAME=r_parse
DEPS=r_lib
-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.so ]; then rm -f ${STATIC_OBJS} ; fi
plugins:
cd p && ${MAKE} all
include ../rules.mk