From: Christopher Peplin Date: Fri, 27 Dec 2013 19:14:14 +0000 (-0500) Subject: Add canutil dependency for bit field manipulation. X-Git-Tag: 3.99.1~104^2~46 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=61344915dfdd01101d086b79b56109a9942cbf1a;p=apps%2Flow-level-can-service.git Add canutil dependency for bit field manipulation. --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b4225c0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.o +.DS_Store +*~ +*.bin diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..6114ce5 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "deps/canutil"] + path = deps/canutil + url = https://github.com/openxc/canutil diff --git a/Makefile b/Makefile index 49e22f2..0dd9359 100644 --- a/Makefile +++ b/Makefile @@ -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 index 0000000..04a4db7 --- /dev/null +++ b/deps/canutil @@ -0,0 +1 @@ +Subproject commit 04a4db7d336ae2cae94ac3234086b22fbf1339f0