Add separate Makefile for contrib/bzip2

This commit is contained in:
Michael Reim 2016-02-07 09:01:28 +00:00
parent eaaead7458
commit de05deb730

12
contrib/bzip2/Makefile Normal file
View file

@ -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) $<