Python C extension to compute the permanent.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
303B

  1. srcdir = src
  2. objdir = ./
  3. target = permanent.so
  4. setup = setup.py
  5. default : $(target) test
  6. # Compile
  7. $(target): $(srcdir)/permanent.c
  8. python $(setup) build_ext --inplace
  9. test :
  10. python ./run-tests.py
  11. clean :
  12. @ rm permanent.so
  13. @ rm -rf build
  14. tar :
  15. @ tar czf permanent.tar.gz $(srcdir) $(utils)