examples/Makefile: simplify makefile rules

Now, each .c file must be a separate (and standalone)
example. With this, simply adding another .c file
will compile it and link it against the correct libraries