10 # Makefile : Builds PNG library (BC++ 16-bit)
12 # WXWIN and BCCDIR are set by parent make
15 !include $(WXDIR)\src\makebcc.env
17 WINPNGLIB = ..\..\lib\winpng.lib
19 WXLIBDIR = $(WXDIR)\lib
20 WXINC = $(WXDIR)\include\msw
21 WXLIB = $(WXLIBDIR)\wx.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 bcc $(CPPFLAGS) -c {$< }
48 bcc $(CPPFLAGS) -P- -c {$< }
52 -H=$(WXDIR)\src\msw\borland.pch
67 -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
68 -I$(WXDIR)\include\wx\msw\gnuwin32
75 !if "$(BOR_VER)" == "3.1"
77 !elif "$(BOR_VER)" == "4"