Python C extension to compute the permanent.
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.

123456789101112131415161718192021
  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)