Mercurial > dwindows
comparison 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 |
comparison
equal
deleted
inserted
replaced
1593:19af25f71e1f | 1594:6baf177f335c |
---|---|
10 LIBS = | 10 LIBS = |
11 | 11 |
12 CFLAGS = -O -g -DMSVC -DWIN32 -D__WIN32__ -DGDIPLUS -DISOLATION_AWARE_ENABLED=1 -DBUILD_DLL -I./win -I. -I./platform -Wall -mthreads -o $(@) | 12 CFLAGS = -O -g -DMSVC -DWIN32 -D__WIN32__ -DGDIPLUS -DISOLATION_AWARE_ENABLED=1 -DBUILD_DLL -I./win -I. -I./platform -Wall -mthreads -o $(@) |
13 LDFLAGS = -shared -mwindows -mthreads -lcomctl32 -lole32 -loleaut32 -luserenv -lmsimg32 -lgdiplus | 13 LDFLAGS = -shared -mwindows -mthreads -lcomctl32 -lole32 -loleaut32 -luserenv -lmsimg32 -lgdiplus |
14 | 14 |
15 COMPATOBJECTS = compat.o dirent.o | 15 COMPATOBJECTS = dwcompat.o dirent.o |
16 OBJECTS = dw.o XBrowseForFolder.o | 16 OBJECTS = dw.o XBrowseForFolder.o |
17 | 17 |
18 VPATH=../ ../win | 18 VPATH=../ ../win |
19 | 19 |
20 all: dw.dll dwcompat.dll dwtest.exe | 20 all: dw.dll dwcompat.dll dwtest.exe |
34 $(CC) $(CFLAGS) -c $< | 34 $(CC) $(CFLAGS) -c $< |
35 | 35 |
36 XBrowseForFolder.o: win/XBrowseForFolder.cpp | 36 XBrowseForFolder.o: win/XBrowseForFolder.cpp |
37 $(CC) $(CFLAGS) -c $< | 37 $(CC) $(CFLAGS) -c $< |
38 | 38 |
39 compat.o: compat.c | 39 dwcompat.o: dwcompat.c |
40 $(CC) $(CFLAGS) -c $< | 40 $(CC) $(CFLAGS) -c $< |
41 | 41 |
42 dirent.o: win/dirent.c | 42 dirent.o: win/dirent.c |
43 $(CC) $(CFLAGS) -c $< | 43 $(CC) $(CFLAGS) -c $< |
44 | 44 |