You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-benchmarks/pipebench/files/pipebench-0.40-fix-build-sy...

22 lines
603 B

--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,11 @@
# $Id: Makefile,v 1.2 2002/12/15 19:58:36 marvin Exp $
-CC=gcc
-CFLAGS=-Wall -w -pedantic
all: pipebench
doc: pipebench.1
install: pipebench
- cp pipebench /usr/local/bin/
- cp pipebench.1 /usr/local/man/man1/
-
-pipebench: pipebench.c
- $(CC) $(CFLAGS) -o pipebench pipebench.c
+ mkdir -p $(DESTDIR)$(EPREFIX)/usr/bin && cp pipebench $(DESTDIR)$(EPREFIX)/usr/bin/
+ mkdir -p $(DESTDIR)$(EPREFIX)/usr/share/man/man1 && cp pipebench.1 $(DESTDIR)$(EPREFIX)/usr/share/man/man1/
pipebench.1: pipebench.yodl
yodl2man -o pipebench.1 pipebench.yodl