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
17 WINPNGDIR = $(WXDIR)\src\png
18 WINPNGINC = $(WINPNGDIR)
19 WINPNGLIB = ..\..\lib\winpng.lib
23 LIBS=$(WXLIB) $(WINPNGLIB) libw llibcew commdlg ddeml shell # ctl3d
25 # Set this to nothing if your compiler is MS C++ 7
36 CPPFLAGS= /AL /W4 /Gt4 /Zi $(ZOPTION) /G2sw $(OPT) /D__WXMSW__ $(INC)
37 CFLAGS= /AL /W4 /Gt4 /Zi /G2sw /Od /D__WXMSW__ $(INC)
38 LINKFLAGS=/NOD /CO /ONERROR:NOEXE
40 # /Ox for real FINAL version
42 CPPFLAGS= /AL /W4 /Gt4 /Zi /Os /G2sw $(OPT) /D__WXMSW__ $(INC)
43 CFLAGS= /AL /W4 /Gt4 /Zi /Os /G2sw /D__WXMSW__ $(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
55 nmake -f makefile.dos $(WXLIB) FINAL=$(FINAL)
57 $(WINPNGLIB): $(OBJECTS)