mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
Added release build.
This commit is contained in:
parent
84061f4d67
commit
88c664dd2b
@ -4,18 +4,24 @@ LIBS = pthread dl
|
||||
ARGS = -c < data/input.txt > data/output.txt
|
||||
TEST_ARGS = -c < data/input.txt > data/output.txt
|
||||
|
||||
all:: debug
|
||||
|
||||
all:: debug release
|
||||
|
||||
clean::
|
||||
rm -rf bzip2-1.0.6
|
||||
|
||||
|
||||
debug/bin/pbzip2:: debug/lib/libbz2.a
|
||||
release/bin/pbzip2:: release/lib/libbz2.a
|
||||
|
||||
debug/lib/libbz2.a: bzip2-1.0.6
|
||||
cd bzip2-1.0.6; make CFLAGS=-g
|
||||
mkdir -p debug/lib
|
||||
cp bzip2-1.0.6/libbz2.a debug/lib/
|
||||
|
||||
release/lib/libbz2.a: bzip2-1.0.6
|
||||
cd bzip2-1.0.6; make CFLAGS=-g
|
||||
mkdir -p release/lib
|
||||
cp bzip2-1.0.6/libbz2.a release/lib/
|
||||
|
||||
bzip2-1.0.6:
|
||||
wget http://bzip.org/1.0.6/bzip2-1.0.6.tar.gz
|
||||
tar xvzf bzip2-1.0.6.tar.gz
|
||||
|
Loading…
Reference in New Issue
Block a user