huffman

huffman coding implementation in C
Log | Files | Refs | README | LICENSE

commit ca02a13e8fb211ee1daa18596bd0fc9602162c0d
Author: tin <ichtinnotl@gmail.com>
Date:   Sat, 27 Oct 2018 23:06:52 +0200

initial commit

Diffstat:
.gitignore | 3+++
LICENSE | 0
Makefile | 14++++++++++++++
README | 14++++++++++++++
huffman.1 | 0
huffman.c | 7+++++++
huffman.h | 0
7 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1,2 @@ +huffman +.o+ \ No newline at end of file diff --git a/LICENSE b/LICENSE diff --git a/Makefile b/Makefile @@ -0,0 +1,13 @@ +CC=gcc +CFLAGS=-I. +DEPS=huffman.h +OBJ = huffman.o + +%.o: %.c $(DEPS) + $(CC) -c -o $@ $< $(CFLAGS) + +huffman: $(OBJ) + $(CC) -o $@ $^ $(CFLAGS) + +clean: + rm -f *.o+ \ No newline at end of file diff --git a/README b/README @@ -0,0 +1,14 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2018 <ichtinnotl@gmail.com> + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. + diff --git a/huffman.1 b/huffman.1 diff --git a/huffman.c b/huffman.c @@ -0,0 +1,6 @@ +#include <stdio.h> + +int +main () { + printf("Initial. :)") +}+ \ No newline at end of file diff --git a/huffman.h b/huffman.h