No Description
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.

Makefile 742B

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