Revision: 25 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=25&view=rev Author: eht16 Date: 2008-05-20 08:41:15 -0700 (Tue, 20 May 2008)
Log Message: ----------- Make Windows Makefile working.
Modified Paths: -------------- trunk/spellcheck/makefile.win32
Modified: trunk/spellcheck/makefile.win32 =================================================================== --- trunk/spellcheck/makefile.win32 2008-05-20 15:37:03 UTC (rev 24) +++ trunk/spellcheck/makefile.win32 2008-05-20 15:41:15 UTC (rev 25) @@ -1,3 +1,4 @@ +# # localwin32.mk is an optional file to override make variables. # Use localwin32.mk instead of editing variables as it is included in sub # makefiles. @@ -9,11 +10,15 @@ CP = copy RM = del PREFIX = C:\libs +# path to the Aspell source directory +ASPELL_PREFIX = C:\libs\aspell +ASPELL_LIB = C:\aspell\bin\aspell-15.dll GEANY_SRC = c:\geany_svn TARGET = spellcheck.dll .SUFFIXES: .c .o -include localwin32.mk
+ OBJS = spellcheck.o INCLUDEDIRS= -I. \ -I$(GEANY_SRC) \ @@ -29,23 +34,25 @@ -I$(PREFIX)/include/glib-2.0 \ -I$(PREFIX)/lib/glib-2.0/include \ -I$(PREFIX)/include/gettext \ - -I$(PREFIX)/include + -I$(PREFIX)/include \ + -I$(ASPELL_PREFIX)/interfaces/cc + ALL_GTK_LIBS= \ -L"$(PREFIX)/lib" \ -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 \ - -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv + -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv $(ASPELL_LIB) CCFLAGS=-Wall -O2 -mms-bitfields -DHAVE_CONFIG_H
all: $(TARGET)
deps.mak: - $(CC) -MM $(CCFLAGS) $(INCLUDEDIRS) *.c >deps.mak + $(CC) -MM $(CCFLAGS) $(INCLUDEDIRS) src/*.c >deps.mak
-.c.o: +spellcheck.o: $(CC) $(CCFLAGS) $(INCLUDEDIRS) -c $<
-$(TARGET): $(OBJS) deps.mak +$(TARGET): deps.mak $(OBJS) $(CC) -shared $(OBJS) $(ALL_GTK_LIBS) -o $(TARGET)
clean:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org