aboutsummaryrefslogtreecommitdiff
path: root/flatcc/external/grisu3/test_dblcnv.sh
blob: 89f58f47ebd0a73d6245a52ab08969bf7688a38c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

cd $(dirname $0)
mkdir -p build

CC=cc

$CC -g -Wall -Wextra $INCLUDE -I.. grisu3_test_dblcnv.c -o build/grisu3_test_dblcnv_d
$CC -DNDEBUG -Wall -Wextra -O2  $INCLUDE -I.. grisu3_test_dblcnv.c -o build/grisu3_test_dblcnv
echo "DEBUG:"
build/grisu3_test_dblcnv_d
echo "OPTIMIZED:"
build/grisu3_test_dblcnv