Fortraneries/Fraktalism/Makefile

35 lines
776 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
# ---------------------------------------------
spitpgm.o: spitpgm.f90 Makefile
gfortran $(GFOPT) -c $<
fraktals.o: fraktals.f90 Makefile
gfortran $(GFOPT) -c $<
2022-03-08 20:36:32 +11:00
OBJS = 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-02-15 00:15:10 +11:00
pickover: pickover.f90 Makefile $(OBJS)
2022-03-08 20:36:32 +11:00
gfortran $(GFOPT) $< $(OBJS) $(DOT_O) -o $@
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
# ---------------------------------------------