#
# Fortraneries by tTh - Graf Anim
#

GFOPT = -Wall -Wextra -g -time  -I../Modules
MYLIB = '../Modules/libtth90modules.a'

# ---- programmes

essai:	essai.f90 Makefile
	gfortran $(GFOPT) $< $(MYLIB) -o $@

geowaves:	geowaves.f90 Makefile
	gfortran $(GFOPT) $< $(MYLIB) -o $@

doubledice:	doubledice.f90 Makefile	\
		utils_ga.o usegenplot.o
	gfortran $(GFOPT) $< usegenplot.o utils_ga.o -o $@

doublegauss:	doublegauss.f90 Makefile utils_ga.o
	gfortran $(GFOPT) $<  $(MYLIB)  utils_ga.o -o $@

trigofest:	trigofest.f90 Makefile vue3axes.o utils_ga.o
	gfortran $(GFOPT) $<  $(MYLIB) utils_ga.o -o $@

soundscope:	soundscope.f90 Makefile utils_ga.o
	gfortran $(GFOPT) $<  $(MYLIB) utils_ga.o -o $@

noisepic:	noisepic.f90  Makefile
	gfortran $(GFOPT) $< $(MYLIB)			\
		-o $@

# ---- modules locaux

usegenplot.o:	usegenplot.f90 Makefile
	gfortran $(GFOPT) -c $<

utils_ga.o:	utils_ga.f90 Makefile
	gfortran $(GFOPT) -c $<

vue3axes.o:	vue3axes.f90 Makefile
	gfortran $(GFOPT) -c $<