Revision: 28 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=28&view=rev Author: eht16 Date: 2008-05-20 09:38:30 -0700 (Tue, 20 May 2008)
Log Message: ----------- Make Windows Makefile working.
Modified Paths: -------------- trunk/backupcopy/ChangeLog trunk/backupcopy/makefile.win32
Modified: trunk/backupcopy/ChangeLog =================================================================== --- trunk/backupcopy/ChangeLog 2008-05-20 16:35:00 UTC (rev 27) +++ trunk/backupcopy/ChangeLog 2008-05-20 16:38:30 UTC (rev 28) @@ -6,6 +6,8 @@ Add dist-bzip2 and sign targets. * configure.in: Explicitly depend on Geany >= 0.15. + * makefile.win32: + Make Windows Makefile working.
2008-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/backupcopy/makefile.win32 =================================================================== --- trunk/backupcopy/makefile.win32 2008-05-20 16:35:00 UTC (rev 27) +++ trunk/backupcopy/makefile.win32 2008-05-20 16:38:30 UTC (rev 28) @@ -1,9 +1,4 @@ -# Running make creates config.h then calls the sub makefiles. # -# Other targets are: -# deps: delete the dependencies so they are regenerated on next make -# clean: clean all generated files -# # localwin32.mk is an optional file to override make variables. # Use localwin32.mk instead of editing variables as it is included in sub # makefiles. @@ -20,6 +15,7 @@ .SUFFIXES: .c .o -include localwin32.mk
+ OBJS = backupcopy.o INCLUDEDIRS= -I. \ -I$(GEANY_SRC) \ @@ -35,7 +31,8 @@ -I$(PREFIX)/include/glib-2.0 \ -I$(PREFIX)/lib/glib-2.0/include \ -I$(PREFIX)/include/gettext \ - -I$(PREFIX)/include + -I$(PREFIX)/include + 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 \ @@ -46,12 +43,12 @@ all: $(TARGET)
deps.mak: - $(CC) -MM $(CCFLAGS) $(INCLUDEDIRS) *.c >deps.mak + $(CC) -MM $(CCFLAGS) $(INCLUDEDIRS) src/*.c >deps.mak
-.c.o: +backupcopy.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.