Fortraneries/GravityField/Makefile
2022-12-15 15:03:37 +01:00

24 lines
447 B
Makefile

#
# Fortraneries by tTh - Gravity Field
#
GFOPT = -Wall -Wextra -g -pg -time -I../Modules
MODOBJ = ../Modules/spitpgm.o
all: essai animation
# ----------- modules
realfield.o: realfield.f90 Makefile
gfortran $(GFOPT) -c $<
# ----------- progs
essai: essai.f90 Makefile realfield.o
gfortran $(GFOPT) $< realfield.o $(MODOBJ) -o $@
animation: animation.f90 Makefile realfield.o
gfortran $(GFOPT) $< realfield.o $(MODOBJ) -o $@
#-