Fortraneries/Fraktalism/Makefile
2022-02-16 12:15:30 +01:00

28 lines
588 B
Makefile

GFOPT = -Wall -Wextra -time -g
# ---------------------------------------------
spitpgm.o: spitpgm.f90 Makefile
gfortran $(GFOPT) -c $<
fraktals.o: fraktals.f90 Makefile
gfortran $(GFOPT) -c $<
OBJS = spitpgm.o fraktals.o
# ---------------------------------------------
julia: julia.f90 Makefile $(OBJS)
gfortran $(GFOPT) $< $(OBJS) -o $@
pickover: pickover.f90 Makefile $(OBJS)
gfortran $(GFOPT) $< $(OBJS) -o $@
# ---------------------------------------------
foo.pgm: pickover Makefile
./pickover $@ > /dev/null
# ---------------------------------------------