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
|
|
|
#
|
2024-01-17 11:13:49 +11:00
|
|
|
# Makefile for the general purpose modules
|
2022-11-30 11:02:11 +11:00
|
|
|
#
|
|
|
|
|
2023-05-08 08:48:37 +11:00
|
|
|
GFOPT = -Wall -Wextra -g -I.
|
2022-12-06 11:49:45 +11:00
|
|
|
|
2024-02-07 10:50:27 +11:00
|
|
|
all: chkpixels trnd
|
2022-12-06 11:49:45 +11:00
|
|
|
|
2023-10-11 07:08:50 +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
|
|
|
|
2022-12-06 11:49:45 +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-06 11:49:45 +11:00
|
|
|
|
2023-06-10 06:35:01 +11:00
|
|
|
noisepictures.o: noisepictures.f90 Makefile
|
|
|
|
gfortran $(GFOPT) -c $<
|
|
|
|
|
2024-02-07 10:50:27 +11:00
|
|
|
wavmetrics.o: wavmetrics.f90 Makefile
|
|
|
|
gfortran $(GFOPT) -c $<
|
|
|
|
|
2023-10-11 07:08:50 +11:00
|
|
|
#----------------------------------------------------------
|
2023-06-10 06:35:01 +11:00
|
|
|
# making a fluffy archive
|
|
|
|
#
|
|
|
|
OBJECTS = spitpgm.o pixrgb.o \
|
|
|
|
centermag.o dummy.o \
|
|
|
|
trials.o mathstuff2.o \
|
2024-02-07 10:50:27 +11:00
|
|
|
noisepictures.o wavmetrics.o
|
2023-06-10 06:35:01 +11:00
|
|
|
|
|
|
|
libtth90modules.a: $(OBJECTS) Makefile
|
|
|
|
$(AR) rs $@ $?
|
|
|
|
|
2024-02-07 10:50:27 +11:00
|
|
|
# please explain the 'ar' command line
|
|
|
|
|
2023-10-11 07:08:50 +11:00
|
|
|
#----------------------------------------------------------
|
2022-12-01 22:03:22 +11:00
|
|
|
# programmes de testouille
|
|
|
|
#
|
|
|
|
|
2023-06-10 06:35:01 +11:00
|
|
|
chkpixels: chkpixels.f90 Makefile libtth90modules.a
|
2024-02-07 03:01:03 +11:00
|
|
|
gfortran $(GFOPT) -pg $< libtth90modules.a -o $@
|
2022-12-01 22:03:22 +11:00
|
|
|
|
2024-02-07 03:01:03 +11:00
|
|
|
t_centermag: t_centermag.f90 Makefile libtth90modules.a
|
2023-06-10 06:35:01 +11:00
|
|
|
gfortran $(GFOPT) $< libtth90modules.a -o $@
|
2023-05-08 08:48:37 +11:00
|
|
|
|
2023-06-10 06:35:01 +11:00
|
|
|
trnd: trnd.f90 Makefile libtth90modules.a
|
|
|
|
gfortran $(GFOPT) $< libtth90modules.a -o $@
|