mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 00:51:19 +00:00
ffe743ef39
* Rename DEPS to R2DEPS * Cleanup of sys/build.sh
35 lines
634 B
Makefile
35 lines
634 B
Makefile
include ../config.mk
|
|
|
|
NAME=r_parse
|
|
R2DEPS=r_flag r_util r_syscall r_reg
|
|
# indirect dependencies
|
|
R2DEPS+=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
|