6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds winpng.lib library for Windows 3.1
12 # Change WXDIR or WXWIN to wherever wxWindows is found
14 WXLIB = $(WXDIR)\lib\wx.lib
15 WXINC = $(WXDIR)\include
18 WINPNGINC = $(WINPNGDIR)
19 WINPNGLIB = ..\..\lib\winpng.lib
25 # Set this to nothing if your compiler is MS C++ 7
36 CPPFLAGS= /W4 /Zi /MD /GX- $(ZOPTION) $(OPT) /Dwx_msw $(INC) # $(PRECOMP) /Fp$(WXDIR)\src\msw\wx.pch
37 CFLAGS= /W4 /Zi /MD /GX- /Od /Dwx_msw $(INC)
38 LINKFLAGS=/NOD /CO /ONERROR:NOEXE
40 # /Ox for real FINAL version
42 CPPFLAGS= /W4 /MD /GX- /Dwx_msw $(INC) # $(PRECOMP) /Fp$(WXDIR)\src\msw\wx.pch
43 CFLAGS= /W4 /MD /GX- /Dwx_msw $(INC)
44 LINKFLAGS=/NOD /ONERROR:NOEXE
47 OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \
48 pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj \
49 pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj
53 $(WINPNGLIB): $(OBJECTS)
61 cl -DWIN32 $(OPT) $(CFLAGS) /c $*.c