Newbie emacs compile error
:newbie:
I am using emacs to compile a simple program in c++ mode. when I type the command to compile I get this error message: 'cd~/ make -k make ***no targets specified and no makefile found. Stop compilation exited abnormally with code 2 at' (...date / time) can anyone tell me what is causing this problem & how to fix it? Thanks in advance |
Have you made a Makefile?
Dave |
If you didn't create a make file, do the following...
Press 'M-x' Then type 'compile' Now, instead of pressing 'Enter', remove that 'make -k' and type 'g++ <progname> <options>'. Now press 'Enter' and you'll compile the program. If you have created a makefile, then this is unnecessary :). |
All times are GMT -5. The time now is 07:15 PM. |