]> git.saurik.com Git - wxWidgets.git/blob - src/png/makefile.unx
don't overwrite the existing local file if we failed to open it but it does exist
[wxWidgets.git] / src / png / makefile.unx
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
11 include ../make.env
12
13 TARGETLIB=../../lib/libpng.a
14
15 LIB_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
19 all: $(TARGETLIB)
20
21 # Define library objects
22 OBJECTS=\
23 $(LIB_C_SRC:.c=.o)
24
25 $(TARGETLIB) : $(OBJECTS)
26 ar $(AROPTIONS) $@ $(OBJECTS)
27 $(RANLIB) $@
28
29 clean:
30 rm -f $(OBJECTS) $(TARGETLIB)