2010-01-15 12:02:54 +00:00
|
|
|
include ../../config.mk
|
|
|
|
|
|
|
|
all: plugin.${EXT_SO} test-plugin${EXT_EXE}
|
2009-02-05 21:08:46 +00:00
|
|
|
@true
|
|
|
|
|
2010-01-15 12:02:54 +00:00
|
|
|
plugin.${EXT_SO}:
|
2010-11-08 18:30:25 +00:00
|
|
|
${CC} ${CFLAGS} -shared -Wall -o plugin.${EXT_SO} ${LDFLAGS_LIB} plugin.c -I../../include
|
2009-02-05 21:08:46 +00:00
|
|
|
|
2010-01-15 12:02:54 +00:00
|
|
|
test-plugin${EXT_EXE}:
|
2010-11-10 02:55:27 +00:00
|
|
|
${CC} ../*.o ${CFLAGS} -Wall -o test-plugin${EXT_EXE} test-plugin.c -L../../util/ -lr_util -I../../include ${DL_LIBS}
|
2009-02-05 21:08:46 +00:00
|
|
|
|
|
|
|
clean:
|
2010-01-15 12:02:54 +00:00
|
|
|
-rm -f plugin.${EXT_SO} test-plugin${EXT_EXE}
|