diff options
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | Makefile | 3 | ||||
m--------- | deps/canutil | 6 |
4 files changed, 15 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..b4225c09 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.o +.DS_Store +*~ +*.bin diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..6114ce5e --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "deps/canutil"] + path = deps/canutil + url = https://github.com/openxc/canutil @@ -1,5 +1,5 @@ CC = gcc -INCLUDES = -Isrc +INCLUDES = -Isrc -Ideps/canutil/src CFLAGS = $(INCLUDES) -c -w -Wall -Werror -g -ggdb LDFLAGS = LDLIBS = -lcheck @@ -16,6 +16,7 @@ ifneq ($(OSTYPE),Darwin) endif SRC = $(wildcard src/**/*.c) +SRC = $(wildcard deps/**/*.c) OBJS = $(SRC:.c=.o) TEST_SRC = $(wildcard $(TEST_DIR)/*.c) TEST_OBJS = $(TEST_SRC:.c=.o) diff --git a/deps/canutil b/deps/canutil new file mode 160000 +Subproject 04a4db7d336ae2cae94ac3234086b22fbf1339f |