Added initial make build support into new scripts/ folder.

Moved temp sensor example into examples/temp_sensor.
Added basic make example in examples/make_example.
This commit is contained in:
Greg Williams
2015-04-07 13:37:51 -04:00
parent 78beb078c1
commit a86c281824
92 changed files with 302 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#include "foo.h"
void foo_init(void)
{
}
+5
View File
@@ -0,0 +1,5 @@
#ifndef _foo_h
void foo_init(void);
#endif
+15
View File
@@ -0,0 +1,15 @@
#include <stdio.h>
#include "foo.h"
int real_main(int argc, char ** argv)
{
printf("Hello world!\n");
return 0;
}
#ifndef TEST
int main(int argc, char ** argv)
{
return real_main(argc, argv);
}
#endif