mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
a6629c610c
- Not really portable, needs some work to fix w32 build
14 lines
384 B
Makefile
14 lines
384 B
Makefile
include ../../config.mk
|
|
|
|
all: plugin.${EXT_SO} test-plugin${EXT_EXE}
|
|
@true
|
|
|
|
plugin.${EXT_SO}:
|
|
${CC} ${CFLAGS} -shared -Wall -o plugin.${EXT_SO} ${LDFLAGS_LIB} plugin.c -I../../include
|
|
|
|
test-plugin${EXT_EXE}:
|
|
${CC} ../*.o ${CFLAGS} -Wall -o test-plugin${EXT_EXE} test-plugin.c -L../../util/ -lr_util -I../../include ${DL_LIBS}
|
|
|
|
clean:
|
|
-rm -f plugin.${EXT_SO} test-plugin${EXT_EXE}
|