add and use the workspace

This commit is contained in:
Tonton Th
2026-04-25 13:12:16 +02:00
parent 483fa3d13f
commit 5fb1b809e1
5 changed files with 20 additions and 5 deletions

View File

@@ -11,17 +11,29 @@ genplotting.o: genplotting.f90 Makefile
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 > s.scratch
genplot2 -s 512x512 s.scratch a.tga
./spirale
genplot2 -s 512x512 WS/spirale.scratch a.tga
convert a.tga $@
# -----------------------------------------------