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
16 WINPNGINC = $(WINPNGDIR)
17 WINPNGLIB = ..\..\lib\winpng.lib
21 # Set this to nothing if your compiler is MS C++ 7
32 CPPFLAGS= /W4 /Zi /MD /GX $(ZOPTION) $(OPT) /D__WXMSW__ $(INC)
33 CFLAGS= /W4 /Zi /MD /GX /Od /D__WXMSW__ $(INC)
34 LINKFLAGS=/NOD /CO /ONERROR:NOEXE
36 # /Ox for real FINAL version
38 CPPFLAGS= /W4 /MD /GX /D__WXMSW__ $(INC)
39 CFLAGS= /W4 /MD /GX /D__WXMSW__ $(INC)
40 LINKFLAGS=/NOD /ONERROR:NOEXE
43 OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \
44 pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj \
45 pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj
49 $(WINPNGLIB): $(OBJECTS)
57 cl -DWIN32 $(OPT) $(CFLAGS) /c $*.c