radare2/libr/asm/p/capstone.mk
2014-06-25 02:30:42 +02:00

15 lines
329 B
Makefile

ifeq ($(USE_CAPSTONE),1)
CS_CFLAGS=${CAPSTONE_CFLAGS}
CS_LDFLAGS=${CAPSTONE_LDFLAGS}
else
CS_CFLAGS=-I../../shlr/capstone/include
CS_CFLAGS+=-I../../../shlr/capstone/include
CS_LDFLAGS=$(SHLR)/capstone/libcapstone.a
SHARED_OBJ+=${CS_LDFLAGS}
endif
ifeq ($(CS_CFLAGS_INCLUDED),)
CFLAGS+=$(CS_CFLAGS)
CS_CFLAGS_INCLUDED=Yes
endif