2 # makeg - run "make" with options necessary to make a debuggable executable
4 # set GDB=1 in your environment if using gdb on Solaris 2.
7 flags="CDEBUGFLAGS=-g CXXDEBUGFLAGS=-g"
9 # gdb on Solaris needs the stabs included in the executable
10 test "${GDB+yes}" = yes && flags="$flags -xs"
12 exec "$make" $flags LDSTRIPFLAGS= ${1+"$@"}