Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Tests / MakeClean / check_clean.c.in
blob5bc4ab88072cc983f2a23ef624bba33d949ad6d1
1 #include <stdio.h>
3 int main()
5 /* The list of files to check. */
6 const char* files[] =
8 @CHECK_FILES@
12 /* No file should exist. */
13 const char** f = files;
14 int result = 0;
15 for(; *f; ++f)
17 FILE* pf = fopen(*f, "rb");
18 if(pf)
20 fclose(pf);
21 fprintf(stderr, "File \"%s\" exists!", *f);
22 result = 1;
25 return result;