changeset 30659:d371035542b2

Fix the mingw Makefiles to ensure plugins are rebuilt when config.h or version.h changes
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 02 Jul 2010 18:21:07 +0000
parents 831634f28e76
children eada0ae4df00
files libpurple/plugins/Makefile.mingw pidgin/plugins/Makefile.mingw
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/Makefile.mingw	Thu Jul 01 00:03:35 2010 +0000
+++ b/libpurple/plugins/Makefile.mingw	Fri Jul 02 18:21:07 2010 +0000
@@ -55,7 +55,7 @@
 	$(MAKE) -C $(SSL_PLUGIN) -f $(MINGW_MAKEFILE) install
 	cp *.dll $(PURPLE_INSTALL_PLUGINS_DIR)
 
-.c.dll:
+%.dll: %.c $(PURPLE_CONFIG_H) $(PURPLE_VERSION_H)
 	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $<
 	$(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@
 
--- a/pidgin/plugins/Makefile.mingw	Thu Jul 01 00:03:35 2010 +0000
+++ b/pidgin/plugins/Makefile.mingw	Fri Jul 02 18:21:07 2010 +0000
@@ -73,7 +73,7 @@
 	$(MAKE) -C $(WINPREFS_PLUGIN) -f $(MINGW_MAKEFILE) install
 	cp *.dll $(PIDGIN_INSTALL_PLUGINS_DIR)
 
-.c.dll:
+%.dll: %.c $(PURPLE_CONFIG_H) $(PURPLE_VERSION_H)
 	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $<
 	$(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@