radare2/libr/egg/p/exec.mk
2019-06-13 19:12:51 +02:00

12 lines
311 B
Makefile

NEXEC=egg_exec
OBJ_EXEC=${NEXEC}.o
STATIC_OBJ+=${OBJ_EXEC}
TARGET_${NEXEC}=${NEXEC}.${EXT_SO}
CFLAGS+=-DR2_PLUGIN_INCORE
LDFLAGS+=-L..
ALL_TARGETS+=${TARGET_${NEXEC}}
${TARGET_EXEC} ${TARGET_${NEXEC}}: ${P}${OBJ_EXEC}
${CC} $(call libname,${NEXEC}) ${LDFLAGS} ${CFLAGS} -o ${TARGET_${NEXEC}} ${P}${OBJ_EXEC}