diff options
| author | ziejd2 | 2017-09-14 15:39:41 -0500 |
|---|---|---|
| committer | ziejd2 | 2017-09-14 15:57:50 -0500 |
| commit | c4f926438dcb8abe805e910399940f79ff643c4b (patch) | |
| tree | 3146d05ada5cf4b48d9bdd16c1baa498e8df7192 /sourcecodes/k-best/src/buildk.sh | |
| parent | 57ebf49403b75dcf8482d174b59f7fd2a961d98e (diff) | |
| download | BNW-c4f926438dcb8abe805e910399940f79ff643c4b.tar.gz | |
Add files via upload
Diffstat (limited to 'sourcecodes/k-best/src/buildk.sh')
| -rw-r--r-- | sourcecodes/k-best/src/buildk.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sourcecodes/k-best/src/buildk.sh b/sourcecodes/k-best/src/buildk.sh new file mode 100644 index 00000000..9bd06a3e --- /dev/null +++ b/sourcecodes/k-best/src/buildk.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +if [ ${1:-UNIX} == "WIN" ]; then + CC="i586-mingw32msvc-gcc" + EXT=".exe" +else + CC=gcc +fi + +D=g++ + +#CFLAGS="-Wextra -g -ansi -pedantic" +#CFLAGS="-Wall -O3 -g -pg" +CFLAGS="-Wall -O3" + +$CC $CFLAGS -c -o files.o files.c +$CC $CFLAGS -c -o varpar.o varpar.c + +$CC $CFLAGS -o get_local_scores$EXT files.c reg.c ilogi.c ls_XIC.c ls_NML.c ls_BDe.c ls_LOO.c get_local_scores.c -lm +$CC $CFLAGS -o split_local_scores$EXT split_local_scores.c files.o +$CC $CFLAGS -o reverse_local_scores$EXT reverse_local_scores.c files.o +$D -o get_kbest_parents$EXT get_kbest_parents.cc +$D -o get_kbest_nets$EXT get_kbest_nets.cc |
