Fortraneries/Modules/Makefile

30 lines
515 B
Makefile
Raw Normal View History

2022-11-30 01:02:11 +01:00
#
# * Fortraneries *
#
# Makefile for the general purpose moduls
#
2023-01-07 10:40:29 +01:00
GFOPT = -Wall -Wextra -time -g
all: chkpixels
2022-12-16 19:26:54 +01:00
# -----------------------------------------------
2022-11-30 01:02:11 +01:00
spitpgm.o: spitpgm.f90 Makefile
gfortran $(GFOPT) -c $< -o $@
2022-12-01 12:03:22 +01:00
2022-12-16 19:26:54 +01:00
pixrgb.o: pixrgb.f90 Makefile
gfortran $(GFOPT) -c $< -o $@
trials.o: trials.f90 Makefile
gfortran $(GFOPT) -c $< -o $@
2022-12-01 12:03:22 +01:00
#
# programmes de testouille
#
2022-12-16 19:26:54 +01:00
OBJS = trials.o spitpgm.o pixrgb.o
2022-12-01 12:03:22 +01:00
2022-12-16 19:26:54 +01:00
chkpixels: chkpixels.f90 Makefile $(OBJS)
gfortran $(GFOPT) $< $(OBJS) -o $@
2022-12-01 12:03:22 +01:00