Page MenuHomec4science

Makefile
No OneTemporary

File Metadata

Created
Wed, Dec 18, 18:42

Makefile

OPTIM+=-O3
CXX=g++
CC=g++
FC=gfortran
LD=${CXX}
CXXFLAGS+=-Wall -Wextra -std=c++11 $(OPTIM)
FCFLAGS+=-Wall -Wextra $(OPTIM)
LDFLAGS+=$(OPTIM) -lm
EXE=pi pif
all: clean pi
pi: pi.o
pif: pi.f90
$(FC) $(FCFLAGS) $(LDFLAGS) $< -o $@
clean:
rm -f $(EXE) *.o *~

Event Timeline