From de05deb7302159367ef3bfc36c0262c6557755ef Mon Sep 17 00:00:00 2001 From: Michael Reim Date: Sun, 7 Feb 2016 09:01:28 +0000 Subject: [PATCH] Add separate Makefile for contrib/bzip2 --- contrib/bzip2/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 contrib/bzip2/Makefile diff --git a/contrib/bzip2/Makefile b/contrib/bzip2/Makefile new file mode 100644 index 0000000..2784279 --- /dev/null +++ b/contrib/bzip2/Makefile @@ -0,0 +1,12 @@ +OBJECTS = bzlib.o blocksort.o crctable.o compress.o decompress.o huffman.o randtable.o +CFLAGS = -DLINUX -D_FILE_OFFSET_BITS=64 -O2 -Wall + +.PHONY: all +all: $(OBJECTS) + +.PHONY: clean +clean: + rm -f *.o + +%.o: %.c + gcc -g -c $(CFLAGS) $<