1 diff -ur scripts/makefile.cygwin scripts/makefile.cygwin
2 --- scripts/makefile.cygwin 2002-10-03 12:32:34.000000000 +0100
3 +++ scripts/makefile.cygwin 2003-07-25 11:03:42.000000000 +0100
5 # $CFLAGS, and include pnggccrd.o in $OBJS, below, and in the dependency
6 # list at the bottom of this makefile.
9 +CC=i586-mingw32msvc-gcc
11 MINGW_CCFLAGS=-mno-cygwin -I/usr/include/mingw
12 MINGW_LDFLAGS=-mno-cygwin -L/usr/lib/mingw
15 # Where "make install" puts libpng*.a, *png*.dll, png.h, and pngconf.h
18 -$(warning You haven't specified a 'prefix=' location. Defaulting to "/usr")
22 # Where the zlib library and include files are located
25 +ZLIBLIB= ££PREFIX££/lib
26 +ZLIBINC= ££PREFIX££/include
31 LDEXTRA=-Wl,--out-implib=$(IMPLIB) $(addprefix -L,$(ZLIBLIB)) -lz
35 +RANLIB=i586-mingw32msvc-ranlib
38 INCPATH=$(prefix)/include
40 $(CC) -c $(CFLAGS) -DPNG_BUILD_DLL -o $@ $<
44 + i586-mingw32msvc-ar rc $@ $(OBJS)
47 $(SHAREDDEF): projects/msvc/png32ms.def