From 23273668b6f397893c89411b7e0c793683236db2 Mon Sep 17 00:00:00 2001 From: sjborley Date: Wed, 18 May 2005 12:47:24 +0000 Subject: [PATCH] Exclude test files that don't compile when Windows (MinGW) --- src/maths/cmaths/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/maths/cmaths/Makefile.am b/src/maths/cmaths/Makefile.am index 6207157d3..6ca74560f 100644 --- a/src/maths/cmaths/Makefile.am +++ b/src/maths/cmaths/Makefile.am @@ -13,6 +13,9 @@ libcmaths_a_SOURCES = \ cmath4.c \ cmath4.h +## Test programs fail to build on Windows +if !WINDOWS + noinst_PROGRAMS = test_cx_mag test_cx_j test_cx_ph test_cx_ph_SOURCES = \ @@ -38,6 +41,8 @@ test_cx_j_LDADD = \ TESTS = test_cx_mag test_cx_j test_cx_ph +endif !WINDOWS + INCLUDES = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/maths/poly