test building with a header file

This commit is contained in:
josh committed 2013-07-07 17:34:44 -04:00
1 parent 760f698963
commit 06be9a812e
4 files changed
+25 -2

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
Rscons::Environment.new do |env|
env.Program('header', Dir['*.c'])
end
+7
View File
@@ -0,0 +1,7 @@
#include <stdio.h>
#include "header.h"
int main(int argc, char *argv[])
{
printf("The value is %d\n", VALUE);
}
+6
View File
@@ -0,0 +1,6 @@
#ifndef HEADER_H
#define HEADER_H
#define VALUE 2
#endif