radare2/libr/asm/Makefile
pancake f52fdf762f Fix armthumb disasm, 64bit inc/dec on x86, syscall in r_asm
- rasm2 -k to select kernel like ragg2 does
- rasm2 -k linux -b32 'mov eax, $sys.write'
- Implement x86-64bit INC and DEC
- Add x86-8 and x86-64 bit calling conventions in r_syscall
2013-04-22 01:09:27 +02:00

24 lines
455 B
Makefile

include ../../global.mk
NAME=r_asm
DEPS=r_lib r_util r_parse r_db r_syscall
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