mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-20 04:09:41 +00:00
2a054f6bba
with .dll and .exe for w32 * Do not build libr.${LIB_AR} by default (problematic in some platforms) * Lot of more fixes for building on w32 - Yeah i got the first build done! - Check radare.org/get/radare2-w32* - So many things are still broken for windows - Fixes some recursive and missing dependencies - LINK and LDFLAGS must be after $OBJ
27 lines
461 B
Makefile
27 lines
461 B
Makefile
NAME=r_asm
|
|
DEPS=r_lib r_util
|
|
CFLAGS+=-DCORELIB -Iarch/include -Iarch
|
|
|
|
include ../config.mk
|
|
|
|
foo: pre ${LIBSO} ${LIBAR} plugins
|
|
|
|
include ${STATIC_ASM_PLUGINS}
|
|
STATIC_OBJS=$(subst ..,p/..,$(subst asm_,p/asm_,$(STATIC_OBJ)))
|
|
OBJ=${STATIC_OBJS} asm.o
|
|
|
|
pre:
|
|
@if [ ! -e libr_asm.so ]; then rm -f ${STATIC_OBJS} ; fi
|
|
|
|
re:
|
|
rm -f asm.o libr_asm.so
|
|
${MAKE}
|
|
rm -f t/fastcall.o
|
|
sudo ${MAKE} install
|
|
cd t && ${MAKE}
|
|
|
|
plugins:
|
|
cd p && ${MAKE} all
|
|
|
|
include ../rules.mk
|