6 # Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
8 # Makefile : Builds PNG library for Watcom C++, WIN32
11 EXTRACPPFLAGS=-i=..\zlib
13 !include $(WXDIR)\src\makewat.env
17 LIBTARGET = $(WXLIB)\png$(WATCOM_SUFFIX).lib
20 $(OUTPUTDIR)\png.obj &
21 $(OUTPUTDIR)\pngread.obj &
22 $(OUTPUTDIR)\pngrtran.obj &
23 $(OUTPUTDIR)\pngrutil.obj &
24 $(OUTPUTDIR)\pngpread.obj &
25 $(OUTPUTDIR)\pngtrans.obj &
26 $(OUTPUTDIR)\pngwrite.obj &
27 $(OUTPUTDIR)\pngwtran.obj &
28 $(OUTPUTDIR)\pngwutil.obj &
29 $(OUTPUTDIR)\pngerror.obj &
30 $(OUTPUTDIR)\pngmem.obj &
31 $(OUTPUTDIR)\pngwio.obj &
32 $(OUTPUTDIR)\pngrio.obj &
33 $(OUTPUTDIR)\pngget.obj &
34 $(OUTPUTDIR)\pngset.obj
36 all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
39 @if not exist $^@ mkdir $^@
41 LBCFILE=$(OUTPUTDIR)\png.lbc
42 $(LIBTARGET) : $(OBJECTS)
44 @for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
45 wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
48 -erase $(OUTPUTDIR)\*.obj
50 -erase $(OUTPUTDIR)\*.pch
51 -erase $(OUTPUTDIR)\*.err
52 -erase $(OUTPUTDIR)\*.lbc