foo.c 226 B

12345678910111213141516
  1. #include <stdio.h>
  2. int main() {
  3. const char *fn = DEPFILE;
  4. FILE *f = fopen(fn, "r");
  5. if (!f) {
  6. printf("could not open %s", fn);
  7. return 1;
  8. }
  9. else {
  10. printf("successfully opened %s", fn);
  11. }
  12. return 0;
  13. }