30 lines
670 B
Makefile
30 lines
670 B
Makefile
# $NetBSD: Makefile,v 1.4 2000/03/16 12:16:51 wiz Exp $
|
|
|
|
DISTNAME= fib.c
|
|
PKGNAME= fib-980203
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= ftp://ftp.nosc.mil/pub/aburto/fib/
|
|
EXTRACT_SUFX= #empty
|
|
|
|
MAINTAINER= root@garbled.net
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKSRC}
|
|
${CP} ${DISTDIR}/fib.c ${WRKSRC}/fib.c
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} ; ${CC} -O2 -DUNIX -o fib fib.c -lm)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fib ${PREFIX}/bin
|
|
|
|
benchmark:
|
|
-@${WRKSRC}/fib | tee ${WRKSRC}/fib.out
|
|
|
|
results:
|
|
-@${MKDIR} /tmp/benches/`domainname`
|
|
-@${CP} ${WRKSRC}/fib.out /tmp/benches/`domainname`/fib.`uname`-`uname -m`-`uname -r`.`hostname`
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|