Updated makefile so the resulting binary file doesn't have .exe postfix on unix. Also added CFLAGS and LDFLAGS to the compiler arguments.
Updated example as suggested by josefnpat.
Merge branch 'master' of https://github.com/urraka/texpack