10 # Makefile : Builds PNG library (BC++ 32-bit)
12 # WXWIN and BCCDIR are set by parent make
15 !include $(WXDIR)\src\makeb32.env
17 WINPNGLIB = ..\..\lib\winpng.lib
19 WXLIBDIR = $(WXDIR)\lib
20 WXINC = $(WXDIR)\include\msw
21 WXLIB = $(WXLIBDIR)\wx32.lib
30 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
32 OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \
33 pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj \
34 pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj
38 $(WINPNGLIB): $(OBJECTS)
40 tlib $(WINPNGLIB) /P512 @&&!
41 -+$(OBJECTS:.obj =.obj -+)
45 bcc32 $(CPPFLAGS) -c {$< }
48 bcc32 $(CPPFLAGS) -P- -c {$< }
63 -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/zlib
64 -I$(WXDIR)\include\wx\msw\gnuwin32