74 lines
1.8 KiB
Makefile
74 lines
1.8 KiB
Makefile
#
|
|
|
|
all: testbed
|
|
|
|
# -----------------------------------------------
|
|
|
|
genplotting.o: genplotting.f90 Makefile
|
|
gfortran -Wall -c $<
|
|
|
|
testbed: testbed.f90 Makefile genplotting.o
|
|
gfortran -Wall $< genplotting.o -o $@
|
|
|
|
# -----------------------------------------------
|
|
|
|
starfield: starfield.f90 Makefile genplotting.o
|
|
gfortran -Wall $< genplotting.o -o $@
|
|
|
|
starfield.png: starfield Makefile
|
|
./starfield
|
|
genplot2 -s 512x512 WS/starfield.scratch WS/a.tga
|
|
convert WS/a.tga $@
|
|
|
|
# -----------------------------------------------
|
|
|
|
randomwalk: randomwalk.f90 Makefile genplotting.o
|
|
gfortran -Wall $< genplotting.o -o $@
|
|
|
|
randomwalk.png: randomwalk Makefile
|
|
./randomwalk
|
|
genplot2 -s 512x512 WS/randomwalk.scratch WS/a.tga
|
|
convert WS/a.tga $@
|
|
|
|
# -----------------------------------------------
|
|
|
|
oscilloscope: oscilloscope.f90 Makefile genplotting.o
|
|
gfortran -Wall $< genplotting.o -o $@
|
|
|
|
oscilloscope.png: oscilloscope Makefile
|
|
./oscilloscope
|
|
genplot2 -s 512x512 WS/oscilloscope.scratch WS/a.tga
|
|
convert WS/a.tga $@
|
|
|
|
# -----------------------------------------------
|
|
|
|
spirale: spirale.f90 Makefile genplotting.o
|
|
gfortran -Wall $< genplotting.o -o $@
|
|
|
|
spirale.png: spirale Makefile
|
|
./spirale
|
|
genplot2 -s 512x512 WS/spirale.scratch WS/a.tga
|
|
convert WS/a.tga $@
|
|
|
|
# -----------------------------------------------
|
|
|
|
lissajous: lissajous.f90 Makefile genplotting.o
|
|
gfortran -Wall $< genplotting.o -o $@
|
|
|
|
lissajous.png: lissajous Makefile
|
|
./lissajous
|
|
genplot2 -s 512x512 WS/lissajous.scratch WS/a.tga
|
|
convert WS/a.tga $@
|
|
|
|
# -----------------------------------------------
|
|
|
|
squarmania: squarmania.f90 Makefile genplotting.o
|
|
gfortran -Wall $< genplotting.o -o $@
|
|
|
|
squarmania.png: squarmania Makefile
|
|
./squarmania
|
|
genplot2 -s 512x512 WS/squarmania.scratch WS/a.tga
|
|
convert WS/a.tga $@
|
|
|
|
# -----------------------------------------------
|