Нема описа
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.

1234567891011121314151617181920212223242526272829303132333435363738
  1. dyncode_filename='lodel/leapi/dyncode.py'
  2. all: tests doc dyncode
  3. # generate doxygen documentation
  4. doc: cleandoc doc_graphviz
  5. doxygen
  6. doc_graphviz:
  7. cd doc/img/graphviz; make
  8. # Test em update ( examples/em_test.pickle )
  9. em_test:
  10. python3 em_test.py
  11. # generate leapi dynamic code
  12. dyncode: clean_dyn em_test
  13. python3 scripts/refreshdyn.py examples/em_test.pickle $(dyncode_filename) && echo -e "\n\nCode generated in $(dyncode_filename)"
  14. # run tests
  15. tests:
  16. ./runtest -v
  17. .PHONY: clean clean_dyn cleandoc cleanpyc tests
  18. clean: clean_dyn cleandoc cleanpyc
  19. cleanpyc:
  20. -find ./ |grep -E "\.pyc$$" |xargs rm -f 2>/dev/null
  21. cleanpycache:
  22. -find ./ -type d |grep '__pycache__' | xargs rmdir -f 2>/dev/null
  23. cleandoc:
  24. -rm -R doc/html doc/doxygen_sqlite3.db
  25. clean_dyn:
  26. -rm $(dyncode_filename)