Brad King 600e5e274e ENH: Add SKIP_RULE_DEPENDS option for add_custom_command()
- Allows make rules to be created with no dependencies.
  - Such rules will not re-run even if the commands themselves change.
  - Useful to create rules that run only if the output is missing.
2008-05-14 11:38:47 -04:00

30 lines
403 B
Plaintext

#include "doc1.h"
#include "foo.h"
#include "config.h"
#include <stdio.h>
int generated();
int wrapped();
int gen_once(void);
int main ()
{
if (generated()*wrapped()*doc()*gen_once() == 3*5*7*11)
{
FILE* fin = fopen(PROJECT_BINARY_DIR "/not_included.h", "r");
if(fin)
{
fclose(fin);
return 0;
}
else
{
return -2;
}
}
return -1;
}