moved why2 lib into flags
This commit is contained in:
parent
25259423b5
commit
e98fc0354b
4
build.sh
4
build.sh
@ -27,12 +27,14 @@ if [[ "$1" == "test" ]]; then ########## TEST ##########
|
|||||||
echo "Using debug flag"
|
echo "Using debug flag"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
flags="$flags -lwhy2"
|
||||||
|
|
||||||
###
|
###
|
||||||
echo "Compiling... (Flags: $flags)"
|
echo "Compiling... (Flags: $flags)"
|
||||||
###
|
###
|
||||||
|
|
||||||
# Compile
|
# Compile
|
||||||
$compiler -lwhy2 $testFile $flags -o $output
|
$compiler $testFile $flags -o $output
|
||||||
|
|
||||||
# Compilation failed
|
# Compilation failed
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user