flate

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

commit df9760ead6012c345cf371d650a617d540364a95
parent a19449abc842b601ab7903089f6e87352c957b97
Author: nsz <nszabolcs@gmail.com>
Date:   Sun, 21 Jun 2009 21:23:56 +0200

make += deflate_simple
Diffstat:
Makefile | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,7 +1,7 @@ -#CFLAGS=-g -Wall -ansi -pedantic -CFLAGS=-O3 -Wall -ansi -pedantic +CFLAGS=-g -Wall -ansi -pedantic +#CFLAGS=-O3 -Wall -ansi -pedantic LDFLAGS= -SRC=inflate.c inflate_simple.c inflate_callback.c +SRC=inflate.c inflate_simple.c inflate_callback.c deflate_simple.c OBJ=${SRC:.c=.o} EXE=${SRC:.c=} @@ -12,6 +12,8 @@ inflate_simple: inflate_simple.o ${CC} -o $@ $^ ${LDFLAGS} inflate_callback: inflate_callback.o ${CC} -o $@ $^ ${LDFLAGS} +deflate_simple: deflate_simple.o + ${CC} -o $@ $^ ${LDFLAGS} ${OBJ}: Makefile .c.o: ${CC} -c ${CFLAGS} $<