7 # Makefile : Builds PNG library for Watcom C++, WIN32
10 EXTRACPPFLAGS=-i=..\zlib
12 !include $(WXDIR)\src\makewat.env
16 LIBTARGET = $(WXLIB)\png.lib
18 OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj &
19 pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj &
20 pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj
22 all: $(OBJECTS) $(LIBTARGET)
24 $(LIBTARGET) : $(OBJECTS)
26 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
27 wlib /b /c /n /p=512 $^@ @tmp.lbc