kdevelop - deleting a file from a project
I am having a problem with deleting a file from a project. If I run a simple "hello world" program and add the file "hi.cpp", compile the project and run it everything is fine. Then I decide I don't need "hi.cpp" and delete it. Then when I try to compile the project i get the following error:
cd "/home/porterm/projects/Inamuro_Model/hello/debug" && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k
*gmake: *** No rule to make target `/home/porterm/projects/Inamuro_Model/hello/src/hi.cpp', needed by `hi.o'.
*gmake: Target `all' not remade because of errors.
*gmake: *** [all-recursive] Error 1
*Making all in src
*gmake: *** [all] Error 2
**** Exited with status: 2 ***
How do I delete a file from a project and get the project to compile and run as if I never added the file?