summaryrefslogtreecommitdiff
path: root/INSTALL
blob: 49b4a753a116646876b11b90edd5ece59cd79f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

This program does not use the configure script, but I have been careful to
write is as portably as possible -- it should only be using ISO C in
conjunction with libpng.

UNIX-like systems
=================

To build the software on unix, or a compatible build system (eg. cygwin),
type the following:

    make

Then copy the png8 executable wherever you want.  The documentation in the doc
directory can also be copied wherever.

If libpng is in a non-standard place, edit the Makefile and set the commented
variables accordingly.


Other or broken systems
=======================

If the Makefile is not usable on your system, you simply need to compile all
the .c files and produce a single casm object.  E.g. (using the cc command
as an example):

    cc -o png8 *.c