51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
|
|
all: voxelize evolvopick pickover julia lorentz essai
|
|
|
|
GFOPT = -Wall -Wextra -time -g -O -Imods/
|
|
|
|
# ---------------------------------------------
|
|
|
|
mods/spitpgm.o: mods/spitpgm.f90 Makefile
|
|
gfortran $(GFOPT) -c $< -o $@
|
|
|
|
mods/points3d.o: mods/points3d.f90 Makefile
|
|
gfortran $(GFOPT) -c $< -o $@
|
|
|
|
fraktals.o: fraktals.f90 Makefile
|
|
gfortran $(GFOPT) -c $<
|
|
|
|
OBJS = mods/spitpgm.o mods/points3d.o fraktals.o
|
|
|
|
# ---------------------------------------------
|
|
|
|
essai: essai.f90 Makefile $(OBJS)
|
|
gfortran $(GFOPT) $< $(OBJS) -o $@
|
|
|
|
henon: henon.f90 Makefile $(OBJS)
|
|
gfortran $(GFOPT) $< $(OBJS) -o $@
|
|
|
|
julia: julia.f90 Makefile $(OBJS)
|
|
gfortran $(GFOPT) $< $(OBJS) -o $@
|
|
|
|
pickover: pickover.f90 Makefile $(OBJS)
|
|
gfortran $(GFOPT) $< $(OBJS) -o $@
|
|
|
|
evolvopick: evolvopick.f90 Makefile $(OBJS)
|
|
gfortran $(GFOPT) $< $(OBJS) $(DOT_O) -o $@
|
|
|
|
voxelize: voxelize.f90 Makefile $(OBJS)
|
|
gfortran $(GFOPT) $< $(OBJS) -o $@
|
|
|
|
lorentz: lorentz.f90 Makefile $(OBJS)
|
|
gfortran $(GFOPT) $< $(OBJS) -o $@
|
|
|
|
# ---------------------------------------------
|
|
|
|
lorentz.pgm: lorentz Makefile
|
|
./lorentz $@ > /dev/null
|
|
|
|
pickover.pgm: pickover Makefile
|
|
./pickover $@ > /dev/null
|
|
|
|
# ---------------------------------------------
|