radare2/libr/lib/t/Makefile
pancake a6629c610c * Fix static compilation on Linux systems
- Not really portable, needs some work to fix w32 build
2010-11-10 03:55:27 +01:00

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}