Fortraneries/GravityField/Makefile

27 lines
610 B
Makefile
Raw Permalink 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
#
GFOPT = -Wall -Wextra -g -time -I../Modules
MODOBJ = ../Modules/spitpgm.o ../Modules/pixrgb.o
2022-11-24 10:52:13 +11:00
2023-02-12 03:00:58 +11:00
all: essai animation realdump2png
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
2023-02-12 03:00:58 +11:00
realdump2png: realdump2png.f90 Makefile realfield.o
gfortran $(GFOPT) $< realfield.o $(MODOBJ) -o $@
#- remember bro: yolo forever :)