comparison makefile.mingw @ 1842:123d1a900f54

More MINGW cleanups... eliminate a few more warnings and disable the unused-value warning due to unfixable warnings generated by the Win32 macros.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 20 Nov 2012 20:42:06 +0000
parents 22225eb286e5
children 72a75442c51d
comparison
equal deleted inserted replaced
1841:7677754a1ca5 1842:123d1a900f54
1 1
2 # Dynamic Windows MINGW Makefile 2 # Dynamic Windows MINGW Makefile
3
4 # make -C MingW32-gcc-3.4.0-DEBUG -f ../makefile.mingw DEBUG=Y > MingW32-gcc-3.4.0-DEBUG/make-out.log 2>&1
5 # make -C MingW32-gcc-3.4.0-RELEASE -f ../makefile.mingw > MingW32-gcc-3.4.0-RELEASE/make-out.log 2>&1
6 3
7 CC = gcc 4 CC = gcc
8 RM = del /f 5 RM = del /f
9 6
10 DEFS = 7 DEFS =
11 LIBS = 8 LIBS =
12 9
13 CFLAGS = -O -g -DMSVC -DWIN32 -D__WIN32__ -DGDIPLUS -DUNICODE -D_UNICODE -DISOLATION_AWARE_ENABLED=1 -I./win -I. -I./platform -Wall -mthreads -o $(@) 10 # Had to disable -Wunused-value due to every Win32 macro generating this warning...
11 # GCC has marked this as WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24900
12 CFLAGS = -O -g -DMSVC -DWIN32 -D__WIN32__ -DGDIPLUS -DUNICODE -D_UNICODE -DISOLATION_AWARE_ENABLED=1 -I./win -I. -I./platform -Wall -Wno-unused-value -mthreads -o $(@)
14 LDFLAGS = -shared -mwindows -mthreads -lcomctl32 -lole32 -loleaut32 -luserenv -lmsimg32 -lgdiplus 13 LDFLAGS = -shared -mwindows -mthreads -lcomctl32 -lole32 -loleaut32 -luserenv -lmsimg32 -lgdiplus
15 14
16 COMPATOBJECTS = dwcompat.o dirent.o 15 COMPATOBJECTS = dwcompat.o dirent.o
17 OBJECTS = dw.o XBrowseForFolder.o 16 OBJECTS = dw.o XBrowseForFolder.o
18 17