Skip to content

Commit

Permalink
make default makefile build include stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrh committed Nov 6, 2018
1 parent c2b73b9 commit aa2c138
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,29 @@ multiexample_d: decompressor multiexample.c vec_u8.h arg.h custom_alloc.h
decompressor: decompressor_d decompressor.c target/release/libbrotli.so catbrotli
gcc -O3 -o decompressor -g decompressor.c -I. target/release/libbrotli_ffi.[ds][lyo]*
decompressor_d: decompressor.c target/debug/libbrotli.so brotli_tool catbrotli_d
cargo build --no-default-features && gcc -o decompressor_d -g decompressor.c -I. target/debug/libbrotli_ffi.[ds][lyo]*
cargo build && gcc -o decompressor_d -g decompressor.c -I. target/debug/libbrotli_ffi.[ds][lyo]*
fuzz: fuzz_d fuzz.c target/release/libbrotli.so catbrotli
gcc -O3 -o fuzz -g fuzz.c -I. target/release/libbrotli_ffi.[ds][lyo]*
fuzz_d: fuzz.c target/debug/libbrotli.so brotli_tool catbrotli_d
cargo build --no-default-features && gcc -o fuzz_d -g fuzz.c -I. target/debug/libbrotli_ffi.[ds][lyo]*
cargo build && gcc -o fuzz_d -g fuzz.c -I. target/debug/libbrotli_ffi.[ds][lyo]*

brotli_tool: brotli_tool_d decompressor.c target/release/libbrotli.so
gcc -O3 -o brotli_tool -g brotli.c -I. target/release/libbrotli_ffi.[ds][lyo]*
brotli_tool_d: decompressor.c target/debug/libbrotli.so
cargo build --no-default-features && gcc -o brotli_tool_d -g brotli.c -I. target/debug/libbrotli_ffi.[ds][lyo]*
cargo build && gcc -o brotli_tool_d -g brotli.c -I. target/debug/libbrotli_ffi.[ds][lyo]*


catbrotli: catbrotli_d decompressor.c catbrotli.c target/release/libbrotli.so
gcc -O3 -o catbrotli -g catbrotli.c -I. target/release/libbrotli_ffi.[ds][lyo]*
catbrotli_d: catbrotli.c decompressor.c target/debug/libbrotli.so
cargo build --no-default-features && gcc -o catbrotli_d -g catbrotli.c -I. target/debug/libbrotli_ffi.[ds][lyo]*
cargo build && gcc -o catbrotli_d -g catbrotli.c -I. target/debug/libbrotli_ffi.[ds][lyo]*




target/release/libbrotli.so:
cargo build --release --no-default-features
cargo build --release
target/debug/libbrotli.so:
cargo build --no-default-features
cargo build
clean:
cargo clean && rm -f multiexample multiexample_d catbrotli catbrotli_d decompressor decompressor_d brotli_tool brotli_tool_d

0 comments on commit aa2c138

Please sign in to comment.