Lines Matching +full:mingw32 +full:- +full:make

1 # Sample makefile for rpng-win / rpng2-win / wpng using mingw32-gcc and make.
11 # Invoke this makefile from a DOS-prompt window via:
13 # make -f Makefile.mingw32
18 # at all about the mingw32 installation tree (W32DIR). Edit as appropriate.
26 # macros --------------------------------------------------------------------
28 #PNGDIR = ../..# for libpng-x.y.z/contrib/gregbook builds
29 PNGDIR = ../libpng-win32
30 PNGINC = -I$(PNGDIR)
34 #ZDIR = ../../../zlib-win32# for libpng-x.y.z/contrib/gregbook builds
35 ZDIR = ../zlib-win32
36 ZINC = -I$(ZDIR)
40 # change this to be the path where mingw32 installs its stuff:
42 #W32DIR = /usr/local/cross-tools/i386-mingw32msvc
43 W32INC = -I$(W32DIR)/include
47 #CC = i386-mingw32msvc-gcc # e.g., Linux -> Win32 cross-compilation
49 RM = rm -f
51 CFLAGS = -O -Wall $(MINGW_CCFLAGS)
52 # [note that -Wall is a gcc-specific compilation flag ("most warnings on")]
53 # [-ansi, -pedantic and -W can also be used]
59 RLIBSd = $(PNGLIBd) $(ZLIBd) $(W32LIB) -lm
60 RLIBSs = $(PNGLIBs) $(ZLIBs) $(W32LIB) -lm
64 RPNG = rpng-win
65 RPNG2 = rpng2-win
72 RPNGs = $(RPNG)-static
73 RPNG2s = $(RPNG2)-static
74 WPNGs = $(WPNG)-static
86 # implicit make rules -------------------------------------------------------
89 $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
92 $(CC) -c $(CPPFLAGS) $(CFLAGS) -DPNG_BUILD_DLL -o $@ $<
95 # dependencies --------------------------------------------------------------
100 $(LD) $(LDFLAGS) -o $@ $(ROBJSs) $(RLIBSs)
103 $(LD) $(LDFLAGS) -o $@ $(ROBJSd) $(RLIBSd)
106 $(LD) $(LDFLAGS) -o $@ $(ROBJS2s) $(RLIBSs)
109 $(LD) $(LDFLAGS) -o $@ $(ROBJS2d) $(RLIBSd)
112 $(LD) $(LDFLAGS) -o $@ $(WOBJSs) $(WLIBSs)
115 $(LD) $(LDFLAGS) -o $@ $(WOBJSd) $(WLIBSd)
126 # maintenance ---------------------------------------------------------------