radare2/libr/parse/Makefile
Florian Märkl 24d3a9cb5d Add r_parse_ctype ##parse (#14596)
* Add r_parse_ctype

* Add mpc to acr

* Readability

* Fix r_parse for acr
2019-07-20 12:50:27 +02:00

35 lines
630 B
Makefile

include ../config.mk
NAME=r_parse
DEPS=r_flag r_util r_syscall r_reg
# indirect dependencies
DEPS+=r_cons
LINK+=$(STOP)/tcc/libr_tcc.a
CFLAGS+=-I$(STOP)/tcc/
LINK+=$(STOP)/mpc/libmpc.a
CFLAGS+=-I$(STOP)/mpc/
include $(SHLR)/zip/deps.mk
foo:
@for TARGET in pre libr_parse.${EXT_SO} \
libr_parse.${EXT_AR} plugins bins ; do \
${MAKE} $$TARGET ; done
CFLAGS+=-DR2_PLUGIN_INCORE
-include ${STATIC_PARSE_PLUGINS}
STATIC_OBJS=$(subst ..,p/..,$(subst parse_,p/parse_,$(STATIC_OBJ)))
OBJS=parse.o filter.o code.o ctype.o ${STATIC_OBJS}
pre:
bins:
# @cd t && ${MAKE} all
plugins:
@cd p && ${MAKE} all
include ../rules.mk