_info.c 511 B

1234567891011121314151617181920212223242526272829
  1. #include <string.h>
  2. #include <stdio.h>
  3. #include "config.h"
  4. /**
  5. * polynomial_adt - A polynomial module with ability to add,sub,mul derivate/integrate, compose ... polynomials
  6. *
  7. * ..expansion in progress ...
  8. *
  9. * Example:
  10. * FULLY-COMPILABLE-INDENTED-TRIVIAL-BUT-USEFUL-EXAMPLE-HERE
  11. */
  12. int main(int argc, char *argv[])
  13. {
  14. if (argc != 2)
  15. return 1;
  16. if (strcmp(argv[1], "depends") == 0) {
  17. /* Nothing. */
  18. return 0;
  19. }
  20. if (strcmp(argv[1], "libs") == 0) {
  21. printf("m\n");
  22. return 0;
  23. }
  24. return 1;
  25. }