Quoting Juan Cardelino juan.cardel...@gmail.com:
I think the default location for libpng in new ubuntu systems
is /usr/lib/x86_64-linux-gnu
I agree that it won't be useful to add it because depends on distributions.
Just pointing this out.
In my Ubuntu 13.04 is located somewhere else:
Finally, in newer ubuntu systems libpng is not located in /usr/lib so we
need to change the following
LDFLAGS= -L/usr/lib/x86_64-linux-gnu -lpng -lfftw3 -lgomp -lm
I disagree strongly. It is irrelevant where the libraries are
installed on a specific distribution. If they are INSTALLED, this