all: demo0 demo0-static demo0-static: demo0.c ../lib/node.h ../lib/libnode.a Makefile gcc -g -o demo0-static -I ../lib -ldl demo0.c ../lib/libnode.a demo0: demo0.c ../lib/node.h ../lib/libnode.so Makefile gcc -g -o demo0 -I ../lib -L ../lib -ldl -lnode demo0.c clean: rm -f demo0 demo0-static