diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-10-02 15:32:24 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-10-02 15:32:24 +0200 |
commit | 868cfb09cdc5b8c19d9d40f4a88ff6bec08c63fc (patch) | |
tree | a5d7d819745b03168c457f299dd086c237b0e9aa | |
parent | 3b528eeec1e021a431e9d7f7b61bf10723d2d71d (diff) |
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | .gitmodules | 6 | ||||
m--------- | icli | 0 | ||||
-rw-r--r-- | main.c | 6 | ||||
-rw-r--r-- | makefile | 20 | ||||
m--------- | rpiCC2500 | 0 |
6 files changed, 34 insertions, 0 deletions
@@ -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 @@ -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 |