Fortraneries/GravityField/Makefile

23 lines
440 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-01 08:46:44 +11:00
GFOPT = -Wall -Wextra -g -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