mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-24 14:22:13 -06:00
theide: Makefile improved
git-svn-id: svn://ultimatepp.org/upp/trunk@1961 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5991e247f6
commit
ad5750f249
1 changed files with 4 additions and 3 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue