10 # Makefile : Builds minimal example
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
22 LIBS=$(WXLIB) $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib cw32 import32 ole2w32
25 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
29 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
33 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
35 OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \
36 pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj \
37 pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj
41 $(WINPNGLIB): $(OBJECTS)
43 tlib $(WINPNGLIB) /P512 @&&!
44 -+$(OBJECTS:.obj =.obj -+)
48 bcc32 $(CPPFLAGS) -c {$< }
51 bcc32 $(CPPFLAGS) -P- -c {$< }
66 -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/zlib
67 -I$(WXDIR)\include\wx\msw\gnuwin32