BUG: foamNewSource - corrected Make/options for app mode. Closes #1006

This commit is contained in:
Andrew Heather
2018-10-09 09:47:54 +01:00
parent ac886d054f
commit 4b7c21bc3c
2 changed files with 5 additions and 3 deletions

View File

@ -96,7 +96,7 @@ else
fileName="$className$Type" fileName="$className$Type"
echo "$Script: Creating new interface file $fileName" echo "$Script: Creating new code file $fileName"
if [ -e "$fileName" ] if [ -e "$fileName" ]
then then
echo " Error: file exists" echo " Error: file exists"

View File

@ -32,9 +32,11 @@ rm -f Make/options
echo "Creating Make/options" echo "Creating Make/options"
echo 'EXE_INC = \ echo 'EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude' > Make/options -I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude' > Make/options
echo >> Make/options echo >> Make/options
echo 'EXE_LIBS = \ echo 'EXE_LIBS = \
-lfiniteVolume' >> Make/options -lfiniteVolume \
-lmeshTools' >> Make/options
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------