Imported from libpng-1.2.6beta2.tar

This commit is contained in:
Glenn Randers-Pehrson
2002-10-31 19:53:20 -06:00
parent c33ab4e8df
commit 761bf9f06f
71 changed files with 243 additions and 194 deletions

View File

@@ -10,6 +10,8 @@ INCPATH=$(prefix)/include
LIBPATH=$(prefix)/lib
CC=gcc
AR=ar
ARFLAGS=rc
CFLAGS=-I../zlib -O
LDFLAGS=-L. -L../zlib/ -lpng -lz -lm
@@ -22,7 +24,7 @@ OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
all: libpng.a pngtest
libpng.a: $(OBJS)
ar rc $@ $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)
$(RANLIB) $@
pngtest: pngtest.o libpng.a