Fortraneries/Fraktalism/Makefile

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