radare2/libr/egg/p/exec.mk
pancake 3517420927 * Fix race condition building libr/debug
* Fix libr/egg and plugin's Makefiles
* Honor CPPFLAGS
2012-06-13 01:42:47 +02:00

12 lines
302 B
Makefile

NEXEC=egg_exec
OBJ_EXEC=${NEXEC}.o
STATIC_OBJ+=${OBJ_EXEC}
TARGET_${NEXEC}=${NEXEC}.${EXT_SO}
CFLAGS+=-DCORELIB
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}