Fortraneries/GravityField/Makefile

24 lines
447 B
Makefile
Raw Normal View History

2022-11-24 10:52:13 +11:00
#
2022-11-28 23:47:44 +11:00
# Fortraneries by tTh - Gravity Field
2022-11-24 10:52:13 +11:00
#
2022-12-16 01:03:37 +11:00
GFOPT = -Wall -Wextra -g -pg -time -I../Modules
2022-12-05 23:10:40 +11:00
MODOBJ = ../Modules/spitpgm.o
2022-11-24 10:52:13 +11:00
2022-12-05 23:10:40 +11:00
all: essai animation
2022-11-28 23:47:44 +11:00
2022-12-03 12:25:37 +11:00
# ----------- modules
2022-11-28 23:47:44 +11:00
realfield.o: realfield.f90 Makefile
gfortran $(GFOPT) -c $<
2022-12-03 12:25:37 +11:00
# ----------- progs
2022-11-28 23:47:44 +11:00
essai: essai.f90 Makefile realfield.o
gfortran $(GFOPT) $< realfield.o $(MODOBJ) -o $@
2022-11-28 23:47:44 +11:00
2022-12-03 12:25:37 +11:00
animation: animation.f90 Makefile realfield.o
gfortran $(GFOPT) $< realfield.o $(MODOBJ) -o $@
2022-11-28 23:47:44 +11:00
2022-12-16 01:03:37 +11:00
#-