mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-25 23:34:57 +00:00
19 lines
431 B
Makefile
19 lines
431 B
Makefile
OBJ_TCP=io_tcp.o
|
|
|
|
STATIC_OBJ+=${OBJ_TCP}
|
|
TARGET_TCP=io_tcp.${EXT_SO}
|
|
ALL_TARGETS+=${TARGET_TCP}
|
|
|
|
ifeq (${WITHPIC},0)
|
|
LINKFLAGS+=../../util/libr_util.a
|
|
LINKFLAGS+=../../io/libr_io.a
|
|
LINKFLAGS+=../../io/libr_socket.a
|
|
else
|
|
LINKFLAGS+=-L../../util -lr_util
|
|
LINKFLAGS+=-L../../socket -lr_socket
|
|
LINKFLAGS+=-L.. -lr_io
|
|
endif
|
|
|
|
${TARGET_TCP}: ${OBJ_TCP}
|
|
${CC_LIB} $(call libname,io_tcp) ${CFLAGS} -o ${TARGET_TCP} ${OBJ_TCP} ${LINKFLAGS}
|