radare2/binr/binr.mk
pancake 94e316b6fe * Do not build r_db
* Group bfd getl{16,32} helpers
  - fix build of sh-dis plugin
* Fix lot of warnings
* Port rap to use RSocket
2011-04-06 09:29:25 +02:00

22 lines
402 B
Makefile

include ../../libr/config.mk
.PHONY: all clean
CFLAGS+=-I../../libr/include
CFLAGS+=-DLIBDIR=\"${PREFIX}/lib\"
LIBS=$(subst r_,-lr_,$(BINDEPS))
LIBS+=$(subst r_,-L../../libr/,$(BINDEPS))
LDFLAGS=${LIBS}
all: ${BIN}${EXT_EXE}
${BIN}${EXT_EXE}: ${BIN}.o ${OBJS}
${CC} -o ${BIN}${EXT_EXE} ${OBJS} ${BIN}.o ${LIBS} ${LDFLAGS}
clean:
-rm -f ${BIN} ${BIN}.o ${OBJS}
mrproper: clean
-rm -f ${BIN}.d