Fortraneries/GravityField/Makefile

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