radare2/libr/asm/Makefile
2012-11-27 19:03:09 +01:00

24 lines
445 B
Makefile

include ../../global.mk
NAME=r_asm
DEPS=r_lib r_util r_parse r_db
CFLAGS+=-DCORELIB -Iarch/include -Iarch -I../../shlr
include $(TOP)/libr/config.mk
.PHONY: all plugins
all: plugins
plugins: ${LIBSO} ${LIBAR}
@cd d && ${MAKE}
@cd p && ${MAKE} all
include ${STATIC_ASM_PLUGINS}
STATIC_OBJS=$(subst ..,p/..,$(subst asm_,p/asm_,$(STATIC_OBJ)))
OBJS=${STATIC_OBJS} asm.o code.o
# hack to b
OBJS+=${SHARED2_OBJ}
include $(TOP)/libr/rules.mk