summaryrefslogtreecommitdiff
path: root/scripts/makefile.knr
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2004-07-17 22:45:44 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-04-06 16:07:38 -0500
commit5b5dcf8b88d2fa385d36ac0caac73e6ffa9e93e4 (patch)
tree4857e88604592e70aac59c20c5fa620f73343c92 /scripts/makefile.knr
parent761bf9f06f3c544e6fb6ed46f3b08a363cf19b81 (diff)
downloadlibpng-5b5dcf8b88d2fa385d36ac0caac73e6ffa9e93e4.tar.gz
Imported from libpng-1.2.6beta3.tarv1.2.6beta3
Diffstat (limited to 'scripts/makefile.knr')
-rw-r--r--scripts/makefile.knr4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/makefile.knr b/scripts/makefile.knr
index 463efca15..44ee538a3 100644
--- a/scripts/makefile.knr
+++ b/scripts/makefile.knr
@@ -24,8 +24,6 @@ LIBPATH=$(prefix)/lib
DESTDIR=
CC=cc
-AR=ar
-ARFLAGS=rc
CFLAGS=-I../zlib -O
LDFLAGS=-L. -L../zlib/ -lpng -lz -lm
# flags for ansi2knr
@@ -51,7 +49,7 @@ ansi2knr: ansi2knr.c
$(CC) $(CFLAGS) $(ANSI2KNRFLAGS) -o ansi2knr ansi2knr.c
libpng.a: ansi2knr $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ ar rc $@ $(OBJS)
$(RANLIB) $@
pngtest: pngtest.o libpng.a