mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-19 04:12:46 +00:00
31 lines
562 B
Makefile
31 lines
562 B
Makefile
include ../../global.mk
|
|
|
|
NAME=r_asm
|
|
DEPS=r_util r_parse r_db r_syscall
|
|
CFLAGS+=-DCORELIB -Iarch/include -Iarch -I../../shlr
|
|
|
|
include $(TOP)/libr/config.mk
|
|
|
|
.PHONY: all plugins
|
|
|
|
EXTRA_CLEAN=doclean
|
|
|
|
all: plugins
|
|
|
|
doclean:
|
|
@cd d && ${MAKE} clean
|
|
@cd p && ${MAKE} clean
|
|
rm -f `find arch/| grep '\.o$$'`
|
|
|
|
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
|