theide: Makefile improved

git-svn-id: svn://ultimatepp.org/upp/trunk@1961 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-01-27 15:40:08 +00:00
parent 5991e247f6
commit ad5750f249

View file

@ -675,10 +675,10 @@ void MakeBuild::SaveMakeFile(const String& fn, bool exporting)
"OutFile = " << output << "\n"
"\n"
".PHONY: all\n"
"all: install $(OutFile)\n"
"all: prepare $(OutFile)\n"
"\n"
".PHONY: install\n"
"install:\n";
".PHONY: prepare\n"
"prepare:\n";
}
config << mf.config;
install << mf.install;
@ -694,6 +694,7 @@ void MakeBuild::SaveMakeFile(const String& fn, bool exporting)
<< "\n"
"$(OutFile): " << linkdep << "\n\t" << linkfiles << linkfileend << "\n"
<< rules
<< ".PHONY: clean\n"
<< "clean:\n"
<< "\tif [ -d $(UPPOUT) ]; then rm -rf $(UPPOUT); fi;\n";