From cc996852a7d1e0ec06f384888004b13285fcd6b9 Mon Sep 17 00:00:00 2001 From: Chris Greenshields <http://cfd.direct> Date: Mon, 7 Dec 2015 17:28:40 +0000 Subject: [PATCH] foamNewApp: corrected template case --- etc/codeTemplates/app/Make/options | 2 +- etc/codeTemplates/app/app.C | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/codeTemplates/app/Make/options b/etc/codeTemplates/app/Make/options index a3ae8da8331..d27c95d033d 100644 --- a/etc/codeTemplates/app/Make/options +++ b/etc/codeTemplates/app/Make/options @@ -2,6 +2,6 @@ EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude -LIB_LIBS = \ +EXE_LIBS = \ -lfiniteVolume \ -lmeshTools diff --git a/etc/codeTemplates/app/app.C b/etc/codeTemplates/app/app.C index fb4c8ea78e6..911ba7c7de3 100644 --- a/etc/codeTemplates/app/app.C +++ b/etc/codeTemplates/app/app.C @@ -43,7 +43,8 @@ int main(int argc, char *argv[]) << " ClockTime = " << runTime.elapsedClockTime() << " s" << nl << endl; - Info<< "\nEnd\n" << endl; + Info<< "End\n" << endl; + return 0; } -- GitLab