3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 02:15:19 +00:00
z3/maxsat/build.sh
Leonardo de Moura dfaa03b018 Cleaned maxsat example
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-09 07:32:29 -07:00

10 lines
348 B
Bash
Executable file

if gcc -fopenmp -o maxsat maxsat.c -lz3; then
echo "maxsat example was successfully compiled."
echo "To run example, execute:"
echo " ./maxsat ex.smt"
else
echo "You must install Z3 before compiling this example."
echo "To install Z3, execute the following command in the Z3 root directory."
echo " sudo make install"
fi