summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libgmp/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libgmp/tests/Makefile')
-rw-r--r--gnu/lib/libgmp/tests/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/lib/libgmp/tests/Makefile b/gnu/lib/libgmp/tests/Makefile
index aa18015..3d74668 100644
--- a/gnu/lib/libgmp/tests/Makefile
+++ b/gnu/lib/libgmp/tests/Makefile
@@ -18,11 +18,13 @@
# along with the GNU MP Library; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+.PATH: ${.CURDIR}/.. ${.CURDIR}/../obj ${.CURDIR}/../libgmp/obj
+
CC = gcc
-TEST_LIBS = ../libgmp.a
+TEST_LIBS = -lgmp
OPT = -O -g
-CFLAGS = -I. -I.. $(OPT)
+CFLAGS = -I${.CURDIR} -I${.CURDIR}/.. -I${.CURDIR}/../obj -I${.CURDIR}/../libgmp/obj $(OPT)
TEST_SRCS = tst-mul.c tst-dm.c tst-dm_ui.c tst-mdm.c tst-mdm_ui.c tst-gcd.c \
tst-sqrtrem.c tst-convert.c
OpenPOWER on IntegriCloud