{
  "name": "make",
  "kind": "bundled",
  "title": "Makefile Targets",
  "description": "The targets of every Makefile under your project folders. Enter runs one in a terminal (or in the background, with a toast).",
  "version": "0.1.0",
  "icon": "󰣪",
  "author": "pal",
  "spec": "github:zcag/pal/extensions/make",
  "source": "https://github.com/zcag/pal/tree/HEAD/extensions/make",
  "commit": "a84c75d8e1ff65aae49fd8acc1cf888a84c8a465",
  "manifest": {
    "name": "make",
    "title": "Makefile Targets",
    "description": "The targets of every Makefile under your project folders. Enter runs one in a terminal (or in the background, with a toast).",
    "version": "0.1.0",
    "icon": "󰣪",
    "author": "pal",
    "repo": "bundled",
    "license": "MIT",
    "settings": [
      {
        "kind": "list",
        "id": "projects",
        "label": "Project folders",
        "description": "Folders scanned two levels deep for a Makefile, makefile or GNUmakefile. ~ is expanded.",
        "placeholder": "~/proj",
        "default": [
          "~/proj"
        ]
      },
      {
        "kind": "select",
        "id": "terminal",
        "label": "Run in",
        "description": "Where Run puts make. A terminal keeps its window open until you press Enter; background runs it unseen and toasts the exit status (the output opens in the panel when it failed; a run past 8 s is left to finish on its own). On Linux the terminal is $TERMINAL, else kitty, foot, alacritty, xterm.",
        "options": [
          {
            "id": "auto",
            "title": "Terminal (auto)"
          },
          {
            "id": "background",
            "title": "Background"
          },
          {
            "id": "kitty",
            "title": "kitty"
          },
          {
            "id": "Terminal",
            "title": "Terminal"
          },
          {
            "id": "iTerm2",
            "title": "iTerm2"
          },
          {
            "id": "Ghostty",
            "title": "Ghostty"
          },
          {
            "id": "Alacritty",
            "title": "Alacritty"
          }
        ],
        "default": "auto"
      }
    ],
    "store": {
      "tagline": "Every Makefile target under your projects, Enter runs it",
      "category": "developer",
      "features": [
        "Every target of every Makefile two levels under the `projects` folders, one section per project; `pal test` finds a project's target from the root",
        "Descriptions from `## text` on the rule line or the comment above it, shown after the folder in the subtitle",
        "`enter` opens a terminal in the project folder running `make \u003ctarget\u003e`; the window waits for Enter so a quick target's output stays readable",
        "`terminal = \"background\"` runs it unseen: a toast with the exit status and the last line, the whole output in the panel when it failed",
        "The detail pane shows the recipe; `cmd+l` opens the whole Makefile in the panel, `cmd+c` copies `make -C \u003cdir\u003e \u003ctarget\u003e`"
      ],
      "permissions": [
        "make",
        "automation"
      ],
      "platforms": [
        "macos",
        "linux"
      ],
      "screenshots": [
        {
          "file": "1-targets.png",
          "caption": "Targets sectioned by project, the description after the folder"
        },
        {
          "file": "2-recipe.png",
          "caption": "The detail pane: the target's recipe, the project and the Makefile"
        },
        {
          "file": "3-makefile.png",
          "caption": "Show Makefile: the whole file in the panel"
        },
        {
          "file": "4-actions.png",
          "caption": "Run, copy the command, open the project, show the Makefile"
        }
      ],
      "actions": [
        {
          "title": "Run",
          "description": "make \u003ctarget\u003e in a terminal in the project folder, or in the background per the setting.",
          "keys": "enter"
        },
        {
          "title": "Copy command",
          "description": "make -C \u003cdir\u003e \u003ctarget\u003e.",
          "keys": "cmd+c"
        },
        {
          "title": "Open project",
          "description": "The project folder in the file manager.",
          "keys": "cmd+o"
        },
        {
          "title": "Show Makefile",
          "description": "The whole file in the panel.",
          "keys": "cmd+l"
        }
      ]
    },
    "palettes": {
      "make": {
        "kind": "list",
        "description": "Every target of every Makefile in the project folders, one section per project.",
        "keys": [
          {
            "keys": "enter",
            "title": "Run the target"
          },
          {
            "keys": "cmd+c",
            "title": "Copy the make command"
          },
          {
            "keys": "cmd+o",
            "title": "Open the project folder"
          },
          {
            "keys": "cmd+l",
            "title": "Show the Makefile"
          }
        ]
      }
    }
  },
  "updated_at": "2026-09-16T16:45:33Z",
  "url": "https://pal.cagdas.io/extensions/make",
  "tagline": "Every Makefile target under your projects, Enter runs it",
  "category": "developer",
  "screenshots": [
    "https://pal.cagdas.io/extensions/make/screenshots/1-targets.png",
    "https://pal.cagdas.io/extensions/make/screenshots/2-recipe.png",
    "https://pal.cagdas.io/extensions/make/screenshots/3-makefile.png",
    "https://pal.cagdas.io/extensions/make/screenshots/4-actions.png"
  ],
  "panel_screenshots": [
    "https://pal.cagdas.io/extensions/make/screenshots/1-targets.png",
    "https://pal.cagdas.io/extensions/make/screenshots/2-recipe.png",
    "https://pal.cagdas.io/extensions/make/screenshots/3-makefile.png",
    "https://pal.cagdas.io/extensions/make/screenshots/4-actions.png"
  ],
  "bar_screenshots": [],
  "has_bar": false,
  "bar_items": [],
  "has_readme": true
}
