add pixrgb support

This commit is contained in:
tTh
2022-12-16 19:26:54 +01:00
parent c55a7460e0
commit fc03c70454
7 changed files with 93 additions and 264 deletions

View File

@@ -4,21 +4,26 @@
# Makefile for the general purpose moduls
#
GFOPT = -Wall -Wextra -time -g
GFOPT = -Wall -Wextra -time -g
all: chkpixels
# -----------------------------------------------
spitpgm.o: spitpgm.f90 Makefile
gfortran $(GFOPT) -c $< -o $@
pixrgb.o: pixrgb.f90 Makefile
gfortran $(GFOPT) -c $< -o $@
trials.o: trials.f90 Makefile
gfortran $(GFOPT) -c $< -o $@
#
# programmes de testouille
#
OBJS = trials.o spitpgm.o pixrgb.o
chkpixels: chkpixels.f90 Makefile trials.o spitpgm.o
gfortran $(GFOPT) $< spitpgm.o trials.o -o $@
chkpixels: chkpixels.f90 Makefile $(OBJS)
gfortran $(GFOPT) $< $(OBJS) -o $@