mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-10 07:21:55 +00:00
94e316b6fe
* Group bfd getl{16,32} helpers - fix build of sh-dis plugin * Fix lot of warnings * Port rap to use RSocket
22 lines
402 B
Makefile
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
|