Skip to content

Commit ac06a91

Browse files
committed
-build script will generate the lib and bin folders if they are not present.
1 parent fedaf3a commit ac06a91

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ EXEOUT='json'
2626
MODCODE='json_module'
2727
EXAMPLECODE='json_example'
2828

29+
#output directories:
30+
mkdir -p $BUILDDIR
31+
mkdir -p $BINDIR
32+
2933
#build library:
3034
$FCOMPILER $FCOMPILERFLAGS -c $SRCDIR$MODCODE$FEXT -Fo$BUILDDIR -module $BUILDDIR
3135
$ARCHIVER $ARCHIVERFLAGS $BUILDDIR$LIBOUT$LIBEXT $BUILDDIR$MODCODE$OBJEXT

0 commit comments

Comments
 (0)