mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-05 20:50:06 +00:00
21 lines
381 B
Makefile
21 lines
381 B
Makefile
include ../../libr/config.mk
|
|
|
|
.PHONY: all clean
|
|
|
|
CFLAGS+=-I../../libr/include
|
|
CFLAGS+=-DLIBDIR=\"${PREFIX}/lib\"
|
|
|
|
#LIBS=$(subst r_,-lr_,$(DEPS))
|
|
LIBS+=$(subst r_,-L../../libr/,$(DEPS))
|
|
|
|
all: ${BIN}${EXT_EXE}
|
|
|
|
${BIN}${EXT_EXE}: ${BIN}.o ${OBJS}
|
|
${CC} -o ${BIN}${EXT_EXE} ${LIBS} ${LDFLAGS} ${OBJS} ${BIN}.o
|
|
|
|
clean:
|
|
-rm -f ${BIN} ${BIN}.o ${OBJS}
|
|
|
|
mrproper: clean
|
|
-rm -f ${BIN}.d
|