#---------------------------------------------------------------

COPT = -Wall -fpic -g  -no-pie -pg -DDEBUG_LEVEL=0
DEPS = ../floatimg.h Makefile
OBJS = fimg-png.o fimg-tiff.o misc-plots.o filtrage.o

#---------------------------------------------------------------

../libfloatimg.a:       $(OBJS)
	$(AR) r $@ $?

fimg-png.o:		fimg-png.c $(DEPS)
	gcc $(COPT) -c $<

fimg-tiff.o:		fimg-tiff.c $(DEPS)
	gcc $(COPT) -c $<

misc-plots.o:		misc-plots.c $(DEPS)
	gcc $(COPT) -c $<

filtrage.o:		filtrage.c $(DEPS)
	gcc $(COPT) -c $<