27 lines
610 B
Makefile
27 lines
610 B
Makefile
#
|
|
# Fortraneries by tTh - Gravity Field
|
|
#
|
|
|
|
GFOPT = -Wall -Wextra -g -time -I../Modules
|
|
MODOBJ = ../Modules/spitpgm.o ../Modules/pixrgb.o
|
|
|
|
all: essai animation realdump2png
|
|
|
|
# ----------- modules
|
|
|
|
realfield.o: realfield.f90 Makefile
|
|
gfortran $(GFOPT) -c $<
|
|
|
|
# ----------- progs
|
|
|
|
essai: essai.f90 Makefile realfield.o
|
|
gfortran $(GFOPT) $< realfield.o $(MODOBJ) -o $@
|
|
|
|
animation: animation.f90 Makefile realfield.o
|
|
gfortran $(GFOPT) $< realfield.o $(MODOBJ) -o $@
|
|
|
|
realdump2png: realdump2png.f90 Makefile realfield.o
|
|
gfortran $(GFOPT) $< realfield.o $(MODOBJ) -o $@
|
|
|
|
#- remember bro: yolo forever :)
|