Fortraneries/Modules/Makefile

57 lines
1.2 KiB
Makefile
Raw Normal View History

2022-11-30 01:02:11 +01:00
#
2023-05-07 23:48:37 +02:00
# * Fortraneries from tTh *
2022-11-30 01:02:11 +01:00
#
2024-01-17 01:13:49 +01:00
# Makefile for the general purpose modules
2022-11-30 01:02:11 +01:00
#
2023-05-07 23:48:37 +02:00
GFOPT = -Wall -Wextra -g -I.
2023-06-10 08:52:36 +02:00
all: chkpixels trnd t
2023-10-10 22:08:50 +02:00
# ---------------------------------------------------------
2022-11-30 01:02:11 +01:00
spitpgm.o: spitpgm.f90 Makefile
2023-05-07 23:48:37 +02:00
gfortran $(GFOPT) -c $<
2022-12-01 12:03:22 +01:00
2022-12-16 19:26:54 +01:00
pixrgb.o: pixrgb.f90 Makefile
2023-05-07 23:48:37 +02:00
gfortran $(GFOPT) -c $<
centermag.o: centermag.f90 Makefile
gfortran $(GFOPT) -c $<
dummy.o: dummy.f90 Makefile
gfortran $(GFOPT) -c $<
2022-12-16 19:26:54 +01:00
trials.o: trials.f90 Makefile
2023-05-07 23:48:37 +02:00
gfortran $(GFOPT) -c $<
mathstuff2.o: mathstuff2.f90 Makefile
gfortran $(GFOPT) -c $<
2023-06-09 21:35:01 +02:00
noisepictures.o: noisepictures.f90 Makefile
gfortran $(GFOPT) -c $<
2023-10-10 22:08:50 +02:00
#----------------------------------------------------------
2023-06-09 21:35:01 +02:00
# making a fluffy archive
#
OBJECTS = spitpgm.o pixrgb.o \
centermag.o dummy.o \
trials.o mathstuff2.o \
noisepictures.o
libtth90modules.a: $(OBJECTS) Makefile
$(AR) rs $@ $?
2023-10-10 22:08:50 +02:00
#----------------------------------------------------------
2022-12-01 12:03:22 +01:00
# programmes de testouille
#
2023-06-09 21:35:01 +02:00
chkpixels: chkpixels.f90 Makefile libtth90modules.a
gfortran $(GFOPT) $< libtth90modules.a -o $@
2022-12-01 12:03:22 +01:00
2023-06-09 21:35:01 +02:00
t: t.f90 Makefile libtth90modules.a
gfortran $(GFOPT) $< libtth90modules.a -o $@
2023-05-07 23:48:37 +02:00
2023-06-09 21:35:01 +02:00
trnd: trnd.f90 Makefile libtth90modules.a
gfortran $(GFOPT) $< libtth90modules.a -o $@