Fortraneries/Fraktalism/Makefile

38 lines
888 B
Makefile
Raw Normal View History

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