Fortraneries/GravityField/Makefile

23 lines
440 B
Makefile
Raw Normal View History

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