add asymptote support; also some minor improvements

- split build and check in debian rules
- optionally compile C sources with $(absname file.c)