Keep the -I args in the right order
Add an example of multi-libs with linking trick
Improve the generated Makefile (and add an `help' target)

Fix #28
Remove bashism in the generated Makefile
Add missing example file
Use .opt tools when they are available
Merge pull request #30 from samoht/better-makefile

Better makefile