| Author: Ludovic Desroches <ludovic.desroches@atmel.com> |
| Upstream-Status: Inappropriate [not author] |
| =================================================================== |
| --- a/Makefile 2011-05-26 07:48:46.341400974 +0200 |
| +++ b/Makefile 2011-05-30 06:32:38.091401358 +0200 |
| #CFLAGS=-O3 -fomit-frame-pointer -Wall |
| # do it once instead of each time referenced |
| VERSION=$(shell egrep "tiotest v[0-9]+.[0-9]+" tiotest.c | cut -d " " -f 7 | sed "s/v//g") |
| DISTNAME=$(PROJECT)-$(VERSION) |
| -DOCDIR=/usr/local/doc/$(DISTNAME) |
| +DOCDIR=$(PREFIX)/share/doc/$(DISTNAME) |
| $(CC) -c $(CFLAGS) $(DEFINES) tiotest.c -o tiotest.o |
| $(EXE): tiotest.o crc32.o |
| - $(LINK) -o $(EXE) tiotest.o crc32.o -lpthread |
| + $(LINK) -o $(EXE) tiotest.o crc32.o -lpthread $(LDFLAGS) |
| @echo "./tiobench.pl --help for usage options" |