Mercurial > pidgin
diff plugins/Makefile.mingw @ 3715:764d6f1848b2
[gaim-migrate @ 3848]
Introduction of global.mak
committer: Tailor Script <tailor@pidgin.im>
| author | Herman Bloggs <hermanator12002@yahoo.com> |
|---|---|
| date | Wed, 16 Oct 2002 19:40:00 +0000 |
| parents | 9682c0e022c6 |
| children | a8f0c169e529 |
line wrap: on
line diff
--- a/plugins/Makefile.mingw Wed Oct 16 19:39:27 2002 +0000 +++ b/plugins/Makefile.mingw Wed Oct 16 19:40:00 2002 +0000 @@ -19,15 +19,11 @@ ## VARIABLE DEFINITIONS ## -VERSION := $(shell cat $(GAIM_TOP)/VERSION) - # Compiler Options -CC = gcc.exe +CFLAGS = -CFLAGS = -O2 -Wall -Werror -mno-cygwin -fnative-struct - -DEFINES = -DGTK_ENABLE_BROKEN -DVERSION=\"$(VERSION)\" +DEFINES = .SUFFIXES: .SUFFIXES: .c .dll @@ -36,6 +32,7 @@ ## INCLUDE MAKEFILES ## +include $(GAIM_TOP)/src/win32/global.mak ## ## INCLUDE PATHS @@ -88,9 +85,9 @@ .c.dll: $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o tmp$@.o -c $< dlltool -D $@ -z $@.def tmp$@.o - gcc -mdll -o junk.tmp -Wl,--base-file,$@.base tmp$@.o $(LIB_PATHS) $(LIBS) + $(CC) -mdll -o junk.tmp -Wl,--base-file,$@.base tmp$@.o $(LIB_PATHS) $(LIBS) dlltool -D $@ -b $@.base -e $@.exp -d $@.def - gcc -mdll -o $@ tmp$@.o -Wl,$@.exp $(LIB_PATHS) $(LIBS) + $(CC) -mdll -o $@ tmp$@.o -Wl,$@.exp $(LIB_PATHS) $(LIBS) rm -rf $@.base $@.def $@.exp junk.tmp plugins: autorecon.dll iconaway.dll spellchk.dll
