---
name: "makeg"
section: "1"
platform: "linux"
package: "imake"
version: "1.0.11-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/makeg"
---

# makeg(1)

make a debuggable executable

## NAME

makeg - make a debuggable executable

## SYNOPSIS

**makeg** \[ *make-options ...* \] \[ *targets ...* \]

## DESCRIPTION

The **makeg** script runs **make,** passing it variable settings to create a debuggable target when used with a Makefile generated by **imake.** For example, it arranges for the C compiler to be called with the **-g** option.

## ENVIRONMENT

- **MAKE**

  The **make** program to use. Default \`\`make''.

- **GDB**

  Set to a non-null value if using the **gdb** debugger on Solaris 2, which requires additional debugging options to be passed to the compiler.

## SEE ALSO

[**make**(1)](/make/1.md), [**imake**(1)](/imake/1.md)
