Fortraneries/Modules/Makefile

45 lines
856 B
Makefile
Raw Normal View History

2022-11-30 11:02:11 +11:00
#
2023-05-08 08:48:37 +11:00
# * Fortraneries from tTh *
2022-11-30 11:02:11 +11:00
#
# Makefile for the general purpose moduls
#
2023-05-08 08:48:37 +11:00
GFOPT = -Wall -Wextra -g -I.
2023-05-08 08:48:37 +11:00
all: chkpixels t
2022-12-17 05:26:54 +11:00
# -----------------------------------------------
2022-11-30 11:02:11 +11:00
spitpgm.o: spitpgm.f90 Makefile
2023-05-08 08:48:37 +11:00
gfortran $(GFOPT) -c $<
2022-12-01 22:03:22 +11:00
2022-12-17 05:26:54 +11:00
pixrgb.o: pixrgb.f90 Makefile
2023-05-08 08:48:37 +11:00
gfortran $(GFOPT) -c $<
centermag.o: centermag.f90 Makefile
gfortran $(GFOPT) -c $<
dummy.o: dummy.f90 Makefile
gfortran $(GFOPT) -c $<
2022-12-17 05:26:54 +11:00
trials.o: trials.f90 Makefile
2023-05-08 08:48:37 +11:00
gfortran $(GFOPT) -c $<
mathstuff2.o: mathstuff2.f90 Makefile
gfortran $(GFOPT) -c $<
2022-12-01 22:03:22 +11:00
#
# programmes de testouille
#
2023-05-08 08:48:37 +11:00
OBJS = trials.o spitpgm.o pixrgb.o centermag.o dummy.o \
mathstuff2.o
2022-12-01 22:03:22 +11:00
2022-12-17 05:26:54 +11:00
chkpixels: chkpixels.f90 Makefile $(OBJS)
gfortran $(GFOPT) $< $(OBJS) -o $@
2022-12-01 22:03:22 +11:00
2023-05-08 08:48:37 +11:00
t: t.f90 Makefile $(OBJS)
gfortran $(GFOPT) $< $(OBJS) -o $@
trnd: trnd.f90 Makefile $(OBJS)
gfortran $(GFOPT) $< $(OBJS) -o $@