mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 22:24:42 +01:00
Fix for #26, so I can close it.
This commit is contained in:
parent
bda594ddbe
commit
502ac0f05f
@ -1,5 +1,9 @@
|
|||||||
all: bzip2.bc bzip2_from_bitcode test
|
all: bzip2.bc bzip2_from_bitcode test
|
||||||
|
|
||||||
|
CLANG = $(shell which clang)
|
||||||
|
ifeq ($(CLANG),)
|
||||||
|
CLANG = gclang
|
||||||
|
endif
|
||||||
|
|
||||||
./bzip2:
|
./bzip2:
|
||||||
git clone git://sourceware.org/git/bzip2.git
|
git clone git://sourceware.org/git/bzip2.git
|
||||||
@ -34,7 +38,7 @@ modules: bzip2/bzip2
|
|||||||
|
|
||||||
# the override flag is necessary and is there to prevent any complaints about multiple definitions.
|
# the override flag is necessary and is there to prevent any complaints about multiple definitions.
|
||||||
bzip2_from_bitcode: bzip2.bc modules
|
bzip2_from_bitcode: bzip2.bc modules
|
||||||
clang bzip2.c.o.bc blocksort.c.o.bc huffman.c.o.bc crctable.c.o.bc randtable.c.o.bc compress.c.o.bc decompress.c.o.bc bzlib.c.o.bc -o bzip2_from_bitcode
|
${CLANG} bzip2.c.o.bc blocksort.c.o.bc huffman.c.o.bc crctable.c.o.bc randtable.c.o.bc compress.c.o.bc decompress.c.o.bc bzlib.c.o.bc -o bzip2_from_bitcode
|
||||||
|
|
||||||
test: bzip2_from_bitcode
|
test: bzip2_from_bitcode
|
||||||
./bzip2_from_bitcode -1 < ./bzip2/sample1.ref > sample1.rb2
|
./bzip2_from_bitcode -1 < ./bzip2/sample1.ref > sample1.rb2
|
||||||
|
Loading…
Reference in New Issue
Block a user