From b06af76677cd70912c9c4f381b0baed28b4f89a4 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Thu, 10 Jan 2008 20:19:55 +0100 Subject: [PATCH] Change xinput_CFLAGS to AM_CFLAGS to clear automake-1.10 warning src/Makefile.am:27: compiling `buttonmap.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac' Also remove -lm from xinput_LDADD, as it isn't needed. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index a43db58..d537512 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -21,8 +21,8 @@ bin_PROGRAMS = xinput -xinput_CFLAGS = $(XINPUT_CFLAGS) -xinput_LDADD = $(XINPUT_LIBS) -lm +AM_CFLAGS = $(XINPUT_CFLAGS) +xinput_LDADD = $(XINPUT_LIBS) xinput_SOURCES = \ buttonmap.c \ -- 2.56.0