plugin test for the mentally unwell. I feel bad for using recursive Make.
plug | ||
src | ||
.gitignore | ||
Makefile | ||
README | ||
root.mk |
plug/ contains the dynamically loaded library, and of course, src/ has the core program. You'll have to use LD_LIBRARY_PATH='.' ./plugin This could be remedied with a little messing with get/setenv. There's a good reason for the fragmentation and recursion of the Makefiles, as how the files are compiled vary at compliation and link time (link-time not so applicable in this case, but it is effected by CFLAGS anyways). Copy as you wish, credit not.