Bibliothèque de traitements d'images en virgule flottante.
http://la.buvette.org/photos/cumul/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.1 KiB
56 lines
1.1 KiB
# |
|
# building the base library |
|
# |
|
|
|
COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=0 |
|
|
|
OBJS = fimg-core.o fimg-pnm.o fimg-file.o fimg-math.o \ |
|
fimg-timers.o operators.o fimg-2gray.o \ |
|
interpolate.o fimg-compare.o contrast.o |
|
|
|
DEPS = Makefile ../floatimg.h |
|
|
|
# modify it 'as you like' |
|
AR=ar |
|
|
|
all: $(OBJS) ../libfloatimg.a |
|
|
|
t: t.c ../libfloatimg.a $(DEPS) |
|
gcc $(COPT) $< ../libfloatimg.a -lpnglite -lz -lm -o $@ |
|
|
|
# -------------------------------------------- |
|
|
|
../libfloatimg.a: $(OBJS) |
|
$(AR) r $@ $? |
|
|
|
fimg-core.o: fimg-core.c $(DEPS) |
|
gcc $(COPT) -c $< |
|
|
|
fimg-compare.o: fimg-compare.c $(DEPS) |
|
gcc $(COPT) -c $< |
|
|
|
fimg-2gray.o: fimg-2gray.c $(DEPS) |
|
gcc $(COPT) -c $< |
|
|
|
operators.o: operators.c $(DEPS) |
|
gcc $(COPT) -c $< |
|
|
|
contrast.o: contrast.c $(DEPS) |
|
gcc $(COPT) -c $< |
|
|
|
interpolate.o: interpolate.c $(DEPS) |
|
gcc $(COPT) -c $< |
|
|
|
fimg-pnm.o: fimg-pnm.c $(DEPS) |
|
gcc $(COPT) -c $< |
|
|
|
fimg-file.o: fimg-file.c $(DEPS) |
|
gcc $(COPT) -c $< |
|
|
|
fimg-math.o: fimg-math.c $(DEPS) |
|
gcc $(COPT) -c $< |
|
|
|
fimg-timers.o: fimg-timers.c $(DEPS) |
|
gcc $(COPT) -c $< |
|
|
|
# --------------------------------------------
|
|
|