blob: 70a6f35b84d53e87a699640619abbcdf0d9760e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: Makefile,v 1.2 1998/09/23 17:00:35 agc Exp $
DISTNAME= linpackc
PKGNAME= linpack-940225
CATEGORIES= benchmarks
MASTER_SITES= http://www.netlib.org/benchmark/
EXTRACT_SUFX= # empty
MAINTAINER= root@garbled.net
NO_WRKSUBDIR= yes
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/linpackc ${WRKSRC}/linpack.c
do-build:
(cd ${WRKSRC} ; cc -O2 -DROLL -DDP -o linpackd linpack.c -lm)
(cd ${WRKSRC} ; cc -O2 -DROLL -DSP -o linpacks linpack.c -lm)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/linpackd ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/linpacks ${PREFIX}/bin
benchmark:
-@${WRKSRC}/linpacks
-@${WRKSRC}/linpackd
.include "../../mk/bsd.pkg.mk"
|