It is added in LIBS by AC_CHECK_LIB
No need for per target LDFLAGS

Signed-off-by: Gaetan Nadon <[email protected]>
---
 tools/Makefile.am |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/tools/Makefile.am b/tools/Makefile.am
index 701500d..d5671f4 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -18,11 +18,8 @@
 #  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-bin_PROGRAMS = \
-       xsetwacom
+bin_PROGRAMS = xsetwacom
 
-AM_CPPFLAGS=-I$(top_srcdir)/include/
+AM_CPPFLAGS = -I$(top_srcdir)/include
 AM_CFLAGS = $(XORG_CFLAGS) $(X11_CFLAGS)
-
-xsetwacom_LDFLAGS = $(X11_LIBS) -lm
-
+AM_LDFLAGS = $(X11_LIBS)
-- 
1.6.0.4


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to