You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
468 B

#!/bin/bash -e
gcc -Wall -Wextra data-gen.c -o data-gen -g3
gcc -Wall -Wextra reduce-traditional.c -o reduce-traditional -g3
# Build NGI lib
gcc -Wall -Wextra ../emulation/ngi.c -shared -fpic -o libngi.so -g3 -I../emulation/
# Build client application
gcc -Wall -Wextra reduce-ngi.c -o reduce-ngi -g3 -I../emulation/ -L. -l ngi -Wl,-rpath=$PWD
echo "Data generation"
./data-gen
echo "Executing traditional"
./reduce-traditional
echo "Executing NGI"
./reduce-ngi