Fortraneries/Fraktalism/Makefile

38 lines
888 B
Makefile
Raw Normal View History

2022-02-12 21:00:57 +01:00
2022-03-08 10:36:32 +01:00
GFOPT = -Wall -Wextra -time -g -Imods/
2022-02-12 21:00:57 +01:00
# ---------------------------------------------
2022-03-21 18:28:42 +01:00
mods/spitpgm.o: mods/spitpgm.f90 Makefile
gfortran $(GFOPT) -c $< -o $@
2022-02-12 21:00:57 +01:00
fraktals.o: fraktals.f90 Makefile
gfortran $(GFOPT) -c $<
2022-03-21 18:28:42 +01:00
OBJS = mods/spitpgm.o fraktals.o
DOT_O = mods/points3d.o
2022-02-12 21:00:57 +01:00
# ---------------------------------------------
julia: julia.f90 Makefile $(OBJS)
gfortran $(GFOPT) $< $(OBJS) -o $@
2022-03-21 18:28:42 +01:00
pickover: pickover.f90 Makefile $(OBJS) $(DOT_O)
2022-03-08 10:36:32 +01:00
gfortran $(GFOPT) $< $(OBJS) $(DOT_O) -o $@
2022-03-21 18:28:42 +01:00
voxelize: voxelize.f90 Makefile $(OBJS)
gfortran $(GFOPT) $< $(OBJS) -o $@
2022-03-08 10:36:32 +01:00
lorentz: lorentz.f90 Makefile $(OBJS)
2022-02-14 14:15:10 +01:00
gfortran $(GFOPT) $< $(OBJS) -o $@
2022-02-12 21:00:57 +01:00
# ---------------------------------------------
2022-02-16 12:15:30 +01:00
2022-03-08 10:36:32 +01:00
lorentz.pgm: lorentz Makefile
./lorentz $@ > /dev/null
pickover.pgm: pickover Makefile
time ./pickover $@ > /dev/null
2022-02-16 12:15:30 +01:00
# ---------------------------------------------