TetaTricks/code/fortran/Makefile
2024-09-16 03:24:26 +02:00

24 lines
478 B
Makefile

INCS = -I/usr/include/plplot -I/usr/lib/x86_64-linux-gnu/fortran/modules/plplot
# sinple examples
printty: printty.f90 Makefile
gfortran -g $< $(INCS) -o $@
# more complex garbage
plplotting: plplotting.f90 Makefile
gfortran -g $< $(INCS) -lplplotfortran -o $@
dessiner: dessiner.f90 Makefile
gfortran -g $< $(INCS) -lplplotfortran -o $@
plot89a.gif: dessiner Makefile
rm -f WS/A????.png
./dessiner
convert -delay 10 -colors 42 WS/A????.png $@
wc -c plot89a.gif