Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112870927
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, May 13, 09:56
Size
1 KB
Mime Type
text/x-makefile
Expires
Thu, May 15, 09:56 (2 d)
Engine
blob
Format
Raw Data
Handle
26156605
Attached To
rFUTILS futils
Makefile
View Options
#
# @file Makefile
#
# @brief Makefile for mpiuni library
#
# @copyright
# Copyright (©) 2021 EPFL (Ecole Polytechnique Fédérale de Lausanne)
# SPC (Swiss Plasma Center)
#
# futils 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.
#
# futils 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 Emmanuel Lanti <emmanuel.lanti@epfl.ch>
# @author Trach-Minh Tran <trach-minh.tran@epfl.ch>
#
FC = ifort
ifeq ($(FC), ifort)
FFLAGS = -g -check bounds -traceback
else ifeq ($(FC), gfortran)
FFLAGS = -g -fcheck=bounds -fbacktrace
endif
F90 = $(FC)
F90FLAGS = $(FFLAGS)
CC = gcc
CFLAGS = -O2 -w
.SUFFIXES: .o .c .f90
.f90.o:
$(F90) $(F90FLAGS) -c $<
lib: libmpiuni.a
libmpiuni.a: mpi_stubsf.o mpi_mod.o second.o
ar r $@ $?
ranlib $@
cp -a $@ ../
clean:
rm -f *.o *~ a.out
distclean: clean
rm -f *.a
Event Timeline
Log In to Comment