Makefile 770 B

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # Platform Independent
  3. # Bitmap Image Reader Writer Library
  4. # By Arash Partow - 2002
  5. #
  6. # URL: http://partow.net/programming/bitmap/index.html
  7. #
  8. # Copyright Notice:
  9. # Free use of this library is permitted under the
  10. # guidelines and in accordance with the most
  11. # current version of the MIT License.
  12. # http://www.opensource.org/licenses/MIT
  13. #
  14. COMPILER = -c++
  15. OPTIONS = -ansi -pedantic-errors -Wall -Wall -Werror -Wextra -o
  16. LINKER_OPT = -L/usr/lib -lstdc++ -lm
  17. all: bitmap_test
  18. bitmap_test: bitmap_test.cpp bitmap_image.hpp
  19. $(COMPILER) $(OPTIONS) bitmap_test bitmap_test.cpp $(LINKER_OPT)
  20. valgrind_check:
  21. valgrind --leak-check=full --show-reachable=yes --track-origins=yes -v ./bitmap_test
  22. clean:
  23. rm -f core *.o *.bak *stackdump *~
  24. #
  25. # The End !
  26. #