diff makefile.mingw @ 1594:6baf177f335c

Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat. There are several other projects that include compat.c and compat.h... To avoid conflicts make sure the header and source files match the library.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 23 Feb 2012 12:44:15 +0000
parents 6c55d68fd08a
children a76fb5f1a6c8
line wrap: on
line diff
--- a/makefile.mingw	Sat Feb 18 20:45:51 2012 +0000
+++ b/makefile.mingw	Thu Feb 23 12:44:15 2012 +0000
@@ -12,7 +12,7 @@
 CFLAGS = -O -g -DMSVC -DWIN32 -D__WIN32__ -DGDIPLUS -DISOLATION_AWARE_ENABLED=1 -DBUILD_DLL -I./win -I. -I./platform -Wall -mthreads -o $(@)
 LDFLAGS = -shared -mwindows -mthreads -lcomctl32 -lole32 -loleaut32 -luserenv -lmsimg32 -lgdiplus
 
-COMPATOBJECTS = compat.o dirent.o
+COMPATOBJECTS = dwcompat.o dirent.o
 OBJECTS = dw.o XBrowseForFolder.o
 
 VPATH=../ ../win
@@ -36,7 +36,7 @@
 XBrowseForFolder.o: win/XBrowseForFolder.cpp
 	$(CC) $(CFLAGS) -c $<	
 
-compat.o: compat.c
+dwcompat.o: dwcompat.c
 	$(CC) $(CFLAGS) -c $<	
 
 dirent.o: win/dirent.c