|
![](/i/fill.gif) |
I have a problem with the makefile (I don't know if this is specific to
this makefile or if it happens with the official version too; I haven't
tried).
Since I noticed that libz and libpng are installed in this system, I decided
to perform dynamical linking of them to reduce the size of the executable.
However, it seems impossible with the current makefile.
The header files are located in the directory /share/local5/include/ and
the libraries are located at /share/local5/lib/
However, the makefile seems to suppose that they are both located in the
same directory. Both LIBPNGINC and LIBPNGLIB use the same directory
(ie. PNGDIR). Setting them this way:
PNGDIR = /share/local5
LIBPNGINC = -I$(PNGDIR)/include
LIBPNGLIB = -L$(PNGDIR)/lib -lpng
doesn't help. The compilation fails with the message:
make: Fatal error: Don't know how to make target `/share/local5/png.h'
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |