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)\utils\imatest\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) /Dwx_msw $(INC) # $(PRECOMP) /Fp$(WXDIR)\src\msw\wx.pch
37 CFLAGS= /AL /W4 /Gt4 /Zi /G2sw /Od /Dwx_msw $(INC)
38 LINKFLAGS=/NOD /CO /ONERROR:NOEXE
40 # /Ox for real FINAL version
42 CPPFLAGS= /AL /W4 /Gt4 /Zi /Os /G2sw $(OPT) /Dwx_msw $(INC) # $(PRECOMP) /Fp$(WXDIR)\src\msw\wx.pch
43 CFLAGS= /AL /W4 /Gt4 /Zi /Os /G2sw /Dwx_msw $(INC)
44 LINKFLAGS=/NOD /ONERROR:NOEXE
47 OBJECTS = png.obj pngrcb.obj pngread.obj pngrtran.obj pngrutil.obj pngstub.obj \
48 pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj
54 nmake -f makefile.dos $(WXLIB) FINAL=$(FINAL)
56 $(WINPNGLIB): $(OBJECTS)