aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--.gitmodules6
m---------icli0
-rw-r--r--main.c6
-rw-r--r--makefile20
m---------rpiCC25000
6 files changed, 34 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 99ed0d4..4135328 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
notes.txt
+*.o
+lincoln
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..b30d4ef
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,6 @@
+[submodule "icli"]
+ path = icli
+ url = https://github.com/v3io/icli
+[submodule "rpiCC2500"]
+ path = rpiCC2500
+ url = https://github.com/alexbirkett/rpiCC2500
diff --git a/icli b/icli
new file mode 160000
+Subproject d7a6a815f8e5b059433b60d0783514bcc5a9d47
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..e6a5b85
--- /dev/null
+++ b/main.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+int main() {
+ printf("Hello world\n");
+ return 0;
+}
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..77e2546
--- /dev/null
+++ b/makefile
@@ -0,0 +1,20 @@
+CC = gcc
+LD = gcc
+RM = rm -f
+CFLAGS =
+
+OBJECTS := $(patsubst %.c,%.o, *.c)
+
+all: lincoln
+
+%.o: %.c
+ $(CC) -static -c $< $(CFLAGS)
+
+lincoln: $(OBJECTS)
+ $(CC) $(OBJECTS) $(CFLAGS) -o lincoln
+
+clean:
+ $(RM)
+
+distclean: clean
+ $(RM) *.o
diff --git a/rpiCC2500 b/rpiCC2500
new file mode 160000
+Subproject 6471cae26caccac1c89b9083f6208fa84e085eb