-1

I want to use VS code as my C++ IDE. I installed it from the AUR(I'm using linux). But I got a bug. I tried to solve it following this topic. My json task is like the one in the topic i just linked to. But I got an error that read :

make: *** No rule to make target 'makefile'. Stop.

Community
  • 1
  • 1
Marcello Bardus
  • 365
  • 2
  • 4
  • 13

2 Answers2

0

The error looks like it is coming from your makefile. (Assume you already installed C/C++ support)

Check your makefile in the command line to make sure there is no mistake.

Moved
  • 130
  • 8
0

taskName is passed as the first argument of the command. So if your command is "make" and your taskName is "makefile", the command line will be make makefile, leading to the error you are getting.

To avoid this behavior, add "suppressTaskName": true, inside the task declaration.

psydk
  • 1