FloatImg/funcs/Makefile
2019-03-03 16:22:55 +01:00

23 lines
529 B
Makefile

#---------------------------------------------------------------
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 $<