#
# Fortraneries by tTh - Graf Anim
#

GFOPT = -Wall -Wextra -g -time  -I../Modules

# ---- programmes

essai:	essai.f90 usegenplot.o Makefile
	gfortran $(GFOPT) $< usegenplot.o -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) $<  ../Modules/pixrgb.o  utils_ga.o -o $@

trigofest:	trigofest.f90 Makefile vue3axes.o utils_ga.o
	gfortran $(GFOPT) $<  ../Modules/pixrgb.o  ../Modules/spitpgm.o \
			utils_ga.o -o $@

noisepic:	noisepic.f90  Makefile
	gfortran $(GFOPT) $< ../Modules/spitpgm.o ../Modules/pixrgb.o \
		-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 $<