radare2/libr/io/p/shm.mk

18 lines
375 B
Makefile
Raw Normal View History

OBJ_SHM=io_shm.o
STATIC_OBJ+=${OBJ_SHM}
2010-01-15 01:56:43 +01:00
TARGET_SHM=io_shm.${EXT_SO}
ALL_TARGETS+=${TARGET_SHM}
ifeq (${WITHPIC},0)
LINKFLAGS+=../../util/libr_util.a
LINKFLAGS+=../../io/libr_io.a
else
LINKFLAGS+=-L../../util -lr_util
2014-01-18 02:52:49 +01:00
LINKFLAGS+=-L.. -lr_io
endif
${TARGET_SHM}: ${OBJ_SHM}
${CC_LIB} $(call libname,io_shm) ${CFLAGS} $(LDFLAGS) \
-o ${TARGET_SHM} ${OBJ_SHM} ${LINKFLAGS}