flate

deflate implementation
git clone git://git.suckless.org/flate
Log | Files | Refs | README

commit 612a90ea6141a61d9e96c0609235b8e443402f5d
parent 53eb52863fb946f8f15513663c16488de66ca003
Author: pancake <pancake@nopcode.org>
Date:   Wed, 11 Aug 2010 01:09:43 +0200

add 'install' makefile target
Diffstat:
Makefile | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,3 +1,6 @@ +DESTDIR?= +PREFIX?=/usr/local + #CFLAGS=-g -Wall -ansi -pedantic CFLAGS=-O3 -Wall -ansi -pedantic LDFLAGS=-s @@ -36,3 +39,7 @@ profdef: inflate.c deflate.c sflate.c crc.c adler.c gcov -b $+ >/dev/null gprof a.out >deflate.gprof rm -f a.out *.gcno *.gcda gmon.out + +install: + mkdir -p ${DESTDIR}${PREFIX}/bin + cp sflate ${DESTDIR}${PREFIX}/bin