radare2/libr/cmd/Makefile
pancake 69a12884ed Simplify the build system
doc.sw has been moved to radare2-extras
2012-10-03 14:31:35 +02:00

20 lines
339 B
Makefile

NAME=r_cmd
OBJS=cmd.o plugin.o macro.o
DEPS=r_util r_lib r_cons
include ../config.mk
CFLAGS+=-DCORELIB
foo:
for a in ${LIBSO} ${LIBAR} plugins ; do ${MAKE} $$a ; done
include ${STATIC_CMD_PLUGINS}
STATIC_OBJS=$(subst ..,p/..,$(subst cmd_,p/cmd_,$(STATIC_OBJ)))
OBJS+=${STATIC_OBJS}
plugins:
cd p && ${MAKE} all
include ../rules.mk