#!/bin/sh ############################## # Script to build the Parser ############################### echo -n "Do you have GNUs C++ compiler installed [y,n] ? " read ans if [ "$ans"X != "yX" ] then echo "You need GNU C++ compiler to build the parser" exit fi echo -n "Give executable name(absolute path if executable not in SEARCH PATH): " read ans echo "# Building Parser #" echo "$ans -o vhdl_syn_par vhdl_par.cc -lm -DPARENT" $ans -o vhdl_syn_par vhdl_par.cc -lm -DPARENT