diff options
author | garbled <garbled@pkgsrc.org> | 1998-10-22 06:23:09 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 1998-10-22 06:23:09 +0000 |
commit | f334493bb3b08c2651df69ac0bfd6645af45c2df (patch) | |
tree | 5035fe789a36d6e8ab9ec58b9e9b7cc405b12805 /benchmarks/nsieve/Makefile | |
parent | 2c85e4c18655358319f4f2e7687411aa5ba4bce0 (diff) | |
download | pkgsrc-f334493bb3b08c2651df69ac0bfd6645af45c2df.tar.gz |
Import of nsieve benchmark
a Sieve of Eratosthenes benchmark.
Diffstat (limited to 'benchmarks/nsieve/Makefile')
-rw-r--r-- | benchmarks/nsieve/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/benchmarks/nsieve/Makefile b/benchmarks/nsieve/Makefile new file mode 100644 index 00000000000..a771248e9ea --- /dev/null +++ b/benchmarks/nsieve/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/10/22 06:23:09 garbled Exp $ + +DISTNAME= nsieve.c +PKGNAME= nsieve-1.2b +CATEGORIES= benchmarks +MASTER_SITES= ftp://ftp.nosc.mil/pub/aburto/nsieve/ +EXTRACT_SUFX= #empty + +MAINTAINER= root@garbled.net + +NO_WRKSUBDIR= yes + +do-extract: + ${MKDIR} ${WRKSRC} + ${CP} ${DISTDIR}/nsieve.c ${WRKSRC}/nsieve.c + +do-build: + (cd ${WRKSRC} ; cc -O2 -DUNIX -o nsieve nsieve.c -lm) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/nsieve ${PREFIX}/bin + +benchmark: + -@${WRKSRC}/nsieve + +.include "../../mk/bsd.pkg.mk" |