Streight
Streight

Reputation: 861

Changing name of application file (.C file)

I changed the name of an modified application to seperate it from the basic application. Lets say the .C file of the old application is "OldApplication.C" and of the new modified one is "NewApplication.C" Unfortunately, when trying to start the new modified application in terminal by typing "NewApplication" I get:

NewApplication: command not found

Two Question:

  1. How can I make my new application executeable?
  2. Can someone give me a brief overview about the files of a project/application and their functions?

greetings, streight

Upvotes: 1

Views: 353

Answers (1)

Vitaly Isaev
Vitaly Isaev

Reputation: 5815

The mistake of this kind

make: * No rule to make target OldApplication.dep', needed byMake/linuxGccDPOpt/dependencies'. Stop.

often occurs in situation when the Makefile ceases to comply with the structure of the whole project.

In your case make script obviously trying to find the file that was renamed by you and therefore it fails with en error. I think that you should explore the structure of your Makefile and replace all the changed file names with its new versions.

Also you say the you are refused to launch your new executable, but what else could be expected since the project was not compiled?

Upvotes: 1

Related Questions