-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAllmake
executable file
·28 lines (27 loc) · 1.27 KB
/
Allmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
#
# Purpose:
# This is a bash script which will make all binaries for freeCappuccino,
# including applications and utilities.
# Description:
# The procedure amounts to a few calls to generic makefile, but every time
# specifying a specific src directory, with its own 'files' and 'directories'
# lists, specific compile and link flags and the name of executable file.
# All executables will be places into the same directory $FCAPPUC_DIR/bin
# for which we need to update the PATH environment variable.
#
# Thanks for using freeCappuccino.
#
# Make 'cappuccino' CFD solver:
make execut=bin/cappuccino makefile_dir=src/cappuccino LDFLAGS=-O3\ -cpp -DLIS -DLAPACK -Wall LDLIBS=-llapack -llis -fopenmp
#
# Make Field Operations test:
make execut=test/testFieldOperations/testFieldOperations makefile_dir=test/testFieldOperations LDFLAGS=-O2\ -cpp -Wall -DLAPACK LDLIBS=-llapack
# Make Decomposition application:
make execut=bin/decomposition makefile_dir=applications/Decomposition LDFLAGS=-O2\ -Wall LDLIBS=
#
# Make Poisson equation solver:
#make execut=bin/poisson makefile_dir=applications/Poisson LDFLAGS=-O2\ -Wall LDLIBS=-llapack
#
# Make Steady Heat Equation solver:
#make execut=bin/steadyHeatEq makefile_dir=applications/steadyHeatEq LDFLAGS=-O2\ -Wall LDLIBS=-llapack