]> git.saurik.com Git - wxWidgets.git/blame - src/png/makefile.unx
IRIX compilation fixes
[wxWidgets.git] / src / png / makefile.unx
CommitLineData
ee4c6942
JS
1#
2# File: makefile.unx
3# Author: Julian Smart
4# Created: 1998
5# Updated:
6# Copyright: (c) 1998
7#
8#
9# Makefile for PNG library, Unix
10
11include ../make.env
12
13TARGETLIB=../../lib/libpng.a
14
15LIB_C_SRC = png.c pngread.c pngrtran.c pngrutil.c \
16 pngpread.c pngtrans.c pngwrite.c pngwtran.c pngwutil.c \
17 pngerror.c pngmem.c pngwio.c pngrio.c pngget.c pngset.c
18
19all: $(TARGETLIB)
20
21# Define library objects
22OBJECTS=\
23 $(LIB_C_SRC:.c=.o)
24
25$(TARGETLIB) : $(OBJECTS)
26 ar $(AROPTIONS) $@ $(OBJECTS)
27 $(RANLIB) $@
28
29clean:
30 rm -f $(OBJECTS) $(TARGETLIB)