Skip to content


build target... error #4

stschiff opened this Issue · 3 comments

3 participants



with the Makefile below, the "build target..." command doesn't work for me. What happens is a brief flash of a white window that disappears immediately, with now effect.
Here is the makefile:

target1 :
c++ blabla.cpp blabla.cpp -o /tmp/blabla

target2 :
c++ blabla.cpp blabla.cpp -o /tmp/blabla


The “Build Target…” command only shows the targets marked ‘phony’.

You should add something like this:

.PHONY: target1 target2

Then “Build Target…” will correctly show your two targets.

The reason is that a Makefile normally has a lot of targets, so only “top level” targets should be shown in the menu (otherwise it often wouldn’t fit on screen).

I’ll leave this ticket open though as we should put up a tool tip or similar when no (phony) targets are found.


Ah ok. good to know :-) thanks for the quick answer. And yes, a tool tip would be helpful. Maybe I implement this.



I was confused by this too until I see this issue. Maybe, showing a notification message when there is no .PHONY targets available would be helpful for first timers like me

@sorbits sorbits closed this in 6c4bfa5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.