Fortraneries/Fraktalism/mods/Makefile

25 lines
496 B
Makefile

#
# compiling fraktalism's modules
#
GFOPT = -Wall -Wextra -time -g -I../../Modules
all: xperiment.o points3d.o fractcolmap.o
points3d.o: points3d.f90 Makefile
gfortran $(GFOPT) -c $<
xperiment.o: xperiment.f90 Makefile
gfortran $(GFOPT) -c $<
fractcolmap.o: fractcolmap.f90 Makefile
gfortran $(GFOPT) -c $<
# TEST PROGGY --------------------
OBJS = fractcolmap.o xperiment.o points3d.o
t: t.f90 Makefile $(OBJS)
gfortran $(GFOPT) $< $(OBJS) ../../Modules/pixrgb.o -o $@