ArcuDev
ArcuDev

Reputation: 51

Makefile entrypoint not found

I have installed vscode, but this message always opens (bottom right in the picture). I have attached a screenshot for you. Anyone know how I can fix this?

enter image description here

Upvotes: 5

Views: 10937

Answers (1)

Devs Abdou
Devs Abdou

Reputation: 51

With a code structure like this:

myProject
  |
  |_ component1
     |_ src: cpp files
     |_ Makefile
  |_ component2
     |_ src: cpp files
     |_ Makefile

I resolved this problem by creating Makefile under ./myProject with this content:

MAKE := make
all:
    $(MAKE) -C ./component1
    $(MAKE) -C ./component2

Upvotes: 5

Related Questions