summaryrefslogtreecommitdiff
path: root/math/lapack/patches/patch-ad
blob: 0b9cb5162d2a805117699a4fcb4888c8d2126d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ad,v 1.4 2014/08/19 13:37:15 joerg Exp $

--- INSTALL/Makefile.orig	2011-10-01 02:37:03.000000000 +0000
+++ INSTALL/Makefile
@@ -28,8 +28,11 @@ testversion: ilaver.o LAPACK_version.o
 
 clean:
 	rm -f *.o
-.f.o: 
-	$(FORTRAN) $(OPTS) -c $< -o $@
 
-slamch.o: slamch.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
-dlamch.o: dlamch.f ; $(FORTRAN) $(NOOPT) -c $< -o $@
+.f.o:
+	${LIBTOOL} --mode=compile --tag=FC ${FC} ${FFLAGS} -c $<
+
+slamch.o: slamch.f
+	${LIBTOOL} --mode=compile --tag=FC $(FC) $(NOOPT) -c $< -o $@
+dlamch.o: dlamch.f
+	${LIBTOOL} --mode=compile --tag=FC $(FC) $(NOOPT) -c $< -o $@