mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-14 16:59:08 +00:00
22 lines
495 B
Makefile
22 lines
495 B
Makefile
OBJ_WINDBG=io_windbg.o
|
|
|
|
STATIC_OBJ+=${OBJ_WINDBG}
|
|
TARGET_WINDBG=io_windbg.${EXT_SO}
|
|
ALL_TARGETS+=${TARGET_WINDBG}
|
|
|
|
LIB_PATH=$(SHLR)/windbg
|
|
CFLAGS+=-I$(SHLR)/windbg
|
|
LDFLAGS+=$(SHLR)/windbg/libr_windbg.$(EXT_AR)
|
|
|
|
ifeq (${WITHPIC},0)
|
|
LINKFLAGS+=../../util/libr_util.a
|
|
LINKFLAGS+=../../io/libr_io.a
|
|
else
|
|
LINKFLAGS+=-L../../util -lr_util
|
|
LINKFLAGS+=-L.. -lr_io
|
|
endif
|
|
|
|
${TARGET_WINDBG}: ${OBJ_WINDBG}
|
|
${CC} $(call libname,io_windbg) ${OBJ_WINDBG} ${CFLAGS} \
|
|
${LINKFLAGS} ${LDFLAGS_LIB} $(LDFLAGS)
|