Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Cursor sets the MAKE environment variable to point to cursor.AppImage instead of the system make command. This breaks all projects using recursive makefiles.
When a Makefile uses the standard $(MAKE) pattern to invoke sub-makefiles, Cursor launches itself instead of make, causing builds to hang and creating phantom files.
This makes Cursor unusable for any project using standard GNU Make patterns.
Steps to Reproduce
-
Create test directory structure:
mkdir -p test-project/sub -
Create test-project/Makefile:
all:
cd sub && $(MAKE) -
Create test-project/sub/Makefile:
all:
@echo “Success” -
Run make in Cursor terminal
-
Expected: Should print “Success”
Actual: Hangs and/or launches Cursor AppImage -
Run echo $MAKE in Cursor terminal
Shows: /path/to/cursor.AppImage (WRONG - should be empty or make) -
Workaround: Use external terminal where MAKE is not hijacked and the command will actually work correctly
Environment: Linux, Cursor 0.44+, affects all projects using $(MAKE)
Related: #2846 issue on github
Operating System
Linux
Version Information
Version: 2.4.21
VSCode Version: 1.105.1
Commit: dc8361355d709f306d5159635a677a571b277bc0
Date: 2026-01-22T16:57:59.675Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Linux x64 6.9.3-76060903-generic
Does this stop you from using Cursor
No - Cursor works, but with this issue