/usr/bin/makeg is in xutils-dev 1:7.7+5ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #! /bin/sh
# makeg - run "make" with options necessary to make a debuggable executable
# set GDB=1 in your environment if using gdb on Solaris 2.
make="${MAKE-make}"
flags="CDEBUGFLAGS=-g CXXDEBUGFLAGS=-g"
# gdb on Solaris needs the stabs included in the executable
test "${GDB+yes}" = yes && flags="$flags -xs"
exec "$make" $flags LDSTRIPFLAGS= ${1+"$@"}
|