From 79796a371a52f8745e2afce631d65a33afbab9cc Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 12 Jul 2007 18:31:22 +0000 Subject: [PATCH] 2007-07-12 Marcus Brinkmann * Makefile.am: Replace implicite rule by suffix rule. Add SUFFIXES for that. --- trunk/gpgme/ChangeLog | 5 +++++ trunk/gpgme/Makefile.am | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 43e4145..7b01625 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2007-07-12 Marcus Brinkmann + + * Makefile.am: Replace implicite rule by suffix rule. Add + SUFFIXES for that. + 2007-07-12 Werner Koch * version.c (do_subsystem_inits) [W32]: Make sure that the socket diff --git a/trunk/gpgme/Makefile.am b/trunk/gpgme/Makefile.am index 259f3b1..9572990 100644 --- a/trunk/gpgme/Makefile.am +++ b/trunk/gpgme/Makefile.am @@ -1,4 +1,4 @@ - # Copyright (C) 2000 Werner Koch (dd9jn) +# Copyright (C) 2000 Werner Koch (dd9jn) # Copyright (C) 2001, 2002, 2003, 2004, 2005 g10 Code GmbH # # This file is part of GPGME. @@ -118,7 +118,9 @@ LTRCCOMPILE = $(LIBTOOL) --mode=compile $(RC) \ `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \ sed -e 's/-I/--include-dir /g;s/-D/--define /g'` -%.lo : %.rc +.SUFFIXES: .rc .lo + +.rc.lo: $(LTRCCOMPILE) -i $< -o $@ gpgme_res = versioninfo.lo -- 2.26.2