radare2/libr/asm/Makefile
pancake 2a054f6bba * Added w32dist makefile target to generate a distributable zip
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
2010-01-15 17:02:04 +01:00

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