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.

57 lines
1.3 KiB

3 years ago
#
# makefile for floatimg tools
# use with caution
#
COPT = -Wall -fpic -g -DDEBUG_LEVEL=0 -lm
3 years ago
DEPS = ../floatimg.h ../libfloatimg.a Makefile
# ----------
all: fimg2pnm mkfimg png2fimg fimgstats fimg2png \
fimg2tiff fimg2text \
addpnm2fimg cumulfimgs fimgops fimgfx
3 years ago
fimgstats: fimgstats.c $(DEPS)
3 years ago
gcc $(COPT) $< ../libfloatimg.a -o $@
cumulfimgs: cumulfimgs.c $(DEPS)
gcc $(COPT) $< ../libfloatimg.a -o $@
3 years ago
mkfimg: mkfimg.c $(DEPS)
3 years ago
gcc $(COPT) $< ../libfloatimg.a -o $@
3 years ago
fimgops: fimgops.c $(DEPS)
gcc $(COPT) $< ../libfloatimg.a -o $@
fimgfx: fimgfx.c $(DEPS)
gcc $(COPT) $< ../libfloatimg.a -o $@
3 years ago
fimg2pnm: fimg2pnm.c $(DEPS)
3 years ago
gcc $(COPT) $< ../libfloatimg.a -o $@
3 years ago
fimg2png: fimg2png.c $(DEPS)
gcc $(COPT) $< ../libfloatimg.a -lpnglite -lz -o $@
3 years ago
fimg2text: fimg2text.c $(DEPS)
gcc $(COPT) $< ../libfloatimg.a -o $@
2 years ago
fimg2tiff: fimg2tiff.c $(DEPS)
gcc $(COPT) $< ../libfloatimg.a -ltiff -o $@
#
# this tool require an external library
# http://la.buvette.org/devel/libimage/libimage.html
#
3 years ago
addtga2fimg: addtga2fimg.c $(DEPS)
gcc $(COPT) $< ../libfloatimg.a -limageSO -lm -o $@
3 years ago
addpnm2fimg: addpnm2fimg.c $(DEPS)
3 years ago
gcc $(COPT) $< ../libfloatimg.a -lm -o $@
3 years ago
# if "undefined reference to crc32" then "use -lz"
png2fimg: png2fimg.c $(DEPS)
gcc $(COPT) $< ../libfloatimg.a -lpnglite -lz -o $@
3 years ago