Page MenuHomec4science

Makefile
No OneTemporary

File Metadata

Created
Sun, Nov 24, 18:19

Makefile

#
# @file Makefile
#
# @brief
#
# @copyright
# Copyright (©) 2021 EPFL (Ecole Polytechnique Fédérale de Lausanne)
# SPC (Swiss Plasma Center)
#
# spclibs is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# spclibs is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# @authors
# (in alphabetical order)
# @author Sébastien Jolliet <sebastien.jolliet@epfl.ch>
# @author Trach-Minh Tran <trach-minh.tran@epfl.ch>
#
SRCS = banfac.f90 banslv.f90 bchfac.f90 bchslv.f90 bsplpp.f90 bsplvb.f90 \
bsplvd.f90 bspp2d.f90 bvalue.f90 chol1d.f90 colloc.f90 colpnt.f90 \
cspint.f90 cubset.f90 cubslo.f90 cubspl.f90 cwidth.f90 difequ.f90 \
dtblok.f90 eqblok.f90 evnnot.f90 factrb.f90 fcblok.f90 interv.f90 \
knots.f90 l2appr.f90 l2err.f90 l2knts.f90 newnot.f90 ppvalu.f90 \
putit.f90 rvec_print.f90 sbblok.f90 setupq.f90 shiftb.f90 slvblk.f90 \
smooth.f90 spli2d.f90 spline_hermite_set.f90 spline_hermite_val.f90 \
splint.f90 splopt.f90 subbak.f90 subfor.f90 tautsp.f90 titanium.f90
OBJS = banfac.o banslv.o bchfac.o bchslv.o bsplpp.o bsplvb.o bsplvd.o \
bspp2d.o bvalue.o chol1d.o colloc.o colpnt.o cspint.o cubset.o \
cubslo.o cubspl.o cwidth.o difequ.o dtblok.o eqblok.o evnnot.o \
factrb.o fcblok.o interv.o knots.o l2appr.o l2err.o l2knts.o newnot.o \
ppvalu.o putit.o rvec_print.o sbblok.o setupq.o shiftb.o slvblk.o \
smooth.o spli2d.o spline_hermite_set.o spline_hermite_val.o splint.o \
splopt.o subbak.o subfor.o tautsp.o titanium.o
OBJS = interv.o bvalue.o
LIBS =
CC = cc
CFLAGS = -g
FC = ifort
FFLAGS = $(OPT)
F90 = $(FC)
F90FLAGS = $(FFLAGS)
LDFLAGS =
lib: libpppack.a
libpppack.a: $(OBJS)
xiar r $@ $?
ranlib $@
clean:
rm -f *.o *.mod *~ core
distclean: clean
rm -f libpppack.a a.out
.SUFFIXES:
.SUFFIXES: .o .c .f90
.f90.o:
$(F90) $(F90FLAGS) -c $<

Event Timeline