Removed custom Makefile rule for silent compilation and now using AM_SILENT_RULES
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 7 Sep 2010 05:12:00 +0000 (05:12 +0000)
committerHugo Villeneuve <hugo@hugovil.com>
Sat, 25 May 2013 23:36:55 +0000 (19:36 -0400)
configure.ac
src/Makefile.am

index e735d81..123d85c 100644 (file)
@@ -7,9 +7,9 @@ AC_CONFIG_SRCDIR(src/wmnotify.c)
 AM_CONFIG_HEADER(config.h:config-h.in)
 dnl Checking if the NEWS file has been updated to reflect the current version.
 AM_INIT_AUTOMAKE(check-news)
 AM_CONFIG_HEADER(config.h:config-h.in)
 dnl Checking if the NEWS file has been updated to reflect the current version.
 AM_INIT_AUTOMAKE(check-news)
+AM_SILENT_RULES([yes])
 
 dnl Testing the C compiler.
 
 dnl Testing the C compiler.
-dnl AC_PROG_CC
 AM_PROG_CC_C_O
 AC_LANG_C
 
 AM_PROG_CC_C_O
 AC_LANG_C
 
index d4ed91c..a21af49 100644 (file)
@@ -13,13 +13,3 @@ MAINTAINERCLEANFILES = Makefile.in
 
 # we want these in the dist tarball
 EXTRA_DIST = 
 
 # we want these in the dist tarball
 EXTRA_DIST = 
-
-# This rule is used to bypass the default rule which is generated by Automake, in order
-# to get rid of all the cluttered informations that are displayed by Make before
-# calling the compiler like in the following example:
-#    source='programming.c' object='programming.o' libtool=no \
-#    depfile='.deps/programming.Po' tmpdepfile='.deps/programming.TPo' \
-#    depmode=gcc3 /bin/sh ../config/depcomp \
-#    gcc -DHAVE_CONFIG_H -I. -I. -I.. -c `test -f 'main.c' || echo './'`main.c
-.c.o:
-       $(COMPILE) -c $<