all repos — mgba @ 81a52403a3583039f4e571f1516cd0efe4872c4b

mGBA Game Boy Advance Emulator

src/third-party/libpng/contrib/pngminim/preader/README (view raw)

 1This demonstrates the use of PNG_USER_CONFIG and pngusr.h
 2
 3The makefile builds a minimal read-only progressive decoder with
 4embedded libpng, zlib and your system's X library.
 5
 6Specify the location of the zlib source (1.2.1 or later) as ZLIBSRC
 7on the make command line.
 8
 9Edit makefile if required, to find your X library and include files,
10then
11
12    make ZLIBSRC=directory
13
14If you prefer to use the shared libraries, go to contrib/gregbook
15and build the rpng2-x application there.