
all:		spirale.png

# -----------------------------------------------

genplotting.o:	genplotting.f90 Makefile
	gfortran -Wall -c $< 

# -----------------------------------------------

starfield:	starfield.f90 Makefile genplotting.o
	gfortran -Wall $< genplotting.o -o $@

starfield.png:	starfield Makefile
	./starfield
	genplot2 -s 512x512 WS/starfield.scratch a.tga
	convert a.tga $@

# -----------------------------------------------

randomwalk:	randomwalk.f90 Makefile genplotting.o
	gfortran -Wall $< genplotting.o -o $@

randomwalk.png:	randomwalk Makefile
	./randomwalk
	genplot2 -s 512x512 WS/randomwalk.scratch a.tga
	convert a.tga $@

# -----------------------------------------------

spirale:	spirale.f90 Makefile genplotting.o
	gfortran -Wall $< genplotting.o -o $@

spirale.png:	spirale Makefile
	./spirale
	genplot2 -s 512x512 WS/spirale.scratch a.tga
	convert a.tga $@

# -----------------------------------------------
