(Geany) Typing normally caused the error "make: *** No targets specified and no makefile found. Stop."

Viewed 216

Note: I know that questions with this error already exist. However, I believe that this question is not a duplicate of any of the questions I have already seen, as it's... pretty weird.

I was just using Geany 1.37 to build a blank program:

#include <iostream>
#include <fstream>
#include <cmath>
#include <algorithm>
#include <vector>

using namespace std;
// This line is referred to as "line 8" below

int main()
{

    return 0;
}

The above program, when I hit the "Build" button, compiled normally. However, I then typed using namespace abc = std; on line 8, and tried building again. When I hit the "Build" button at the top of the interface, however, I suddenly got the error message

make: *** No targets specified and no makefile found. Stop.

(I know that using namespace abc = std would have caused a compilation error; I was curious as to what the compilation error would say exactly).

Now, I seem unable to build my program at all. My build commands have not changed at all, so I've come to the conclusion that I might've accidentally hit a weird keyboard shortcut that triggered this problem while typing using namespace abc;. Can somebody please tell me if a keyboard shortcut has been known to cause this issue, and what that keyboard shortcut would be?

0 Answers
Related