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

3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. #
  2. # building the base library
  3. #
  4. COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=0
  5. OBJS = fimg-core.o fimg-pnm.o fimg-file.o fimg-math.o \
  6. fimg-timers.o operators.o fimg-2gray.o \
  7. interpolate.o fimg-compare.o contrast.o
  8. DEPS = Makefile ../floatimg.h
  9. # modify it 'as you like'
  10. AR=ar
  11. all: $(OBJS) ../libfloatimg.a
  12. t: t.c ../libfloatimg.a $(DEPS)
  13. gcc $(COPT) $< ../libfloatimg.a -lpnglite -lz -lm -o $@
  14. # --------------------------------------------
  15. ../libfloatimg.a: $(OBJS)
  16. $(AR) r $@ $?
  17. fimg-core.o: fimg-core.c $(DEPS)
  18. gcc $(COPT) -c $<
  19. fimg-compare.o: fimg-compare.c $(DEPS)
  20. gcc $(COPT) -c $<
  21. fimg-2gray.o: fimg-2gray.c $(DEPS)
  22. gcc $(COPT) -c $<
  23. operators.o: operators.c $(DEPS)
  24. gcc $(COPT) -c $<
  25. contrast.o: contrast.c $(DEPS)
  26. gcc $(COPT) -c $<
  27. interpolate.o: interpolate.c $(DEPS)
  28. gcc $(COPT) -c $<
  29. fimg-pnm.o: fimg-pnm.c $(DEPS)
  30. gcc $(COPT) -c $<
  31. fimg-file.o: fimg-file.c $(DEPS)
  32. gcc $(COPT) -c $<
  33. fimg-math.o: fimg-math.c $(DEPS)
  34. gcc $(COPT) -c $<
  35. fimg-timers.o: fimg-timers.c $(DEPS)
  36. gcc $(COPT) -c $<
  37. # --------------------------------------------