tool to fixes some issues in baseline tiffs (with extensions), see http://andreas-romeyke.de
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.
 
 
 

37 lines
715 B

  1. # author: Andreas Romeyke, 2015
  2. # licensed under conditions of libtiff
  3. LIB+=-ltiff
  4. CFLAGS=-O2 -g -Wall
  5. OBJS=tiff_helper.o check_baseline.o check_datetime.o cleanup_datetime.o cleanup_baseline.o cleanup_order.o cleanup_tag.o fixit_tiff.o
  6. # default target
  7. all: fixit_tiff
  8. # remove debugging symbols (smaller size)
  9. strip: all
  10. strip --strip-all fixit_tiff
  11. %.o: %.c
  12. $(CC) $(CFLAGS) $(INC) -c $< -o $@
  13. # default executable
  14. fixit_tiff: $(OBJS)
  15. $(CC) $(CFLAGS) $(INC) -o $@ $^ $(LIB)
  16. # doc
  17. doc: ../common/doxygen.conf
  18. @doxygen ../common/doxygen.conf
  19. # clean workdir
  20. clean:
  21. @rm -f *.o
  22. @rm -f fixit_tiff
  23. # mrproper clean
  24. distclean: clean
  25. @rm -f *~
  26. @rm -f core
  27. @rm -Rf doc/
  28. .PHONY: all clean distclean strip