#
#		* Fortraneries *
#
#	Makefile for the general purpose moduls
#

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 $(OBJS)
	gfortran $(GFOPT) $<  $(OBJS) -o $@