Add cgreen unit test library and makefile

This commit is contained in:
Fred Sundvik 2016-02-14 00:05:58 +02:00
parent ffc425603d
commit e70cefc12f
5 changed files with 86 additions and 0 deletions

11
serial_link.mk Normal file
View file

@ -0,0 +1,11 @@
CGREEN_LIB = $(BUILDDIR)/cgreen/build-c/src/libcgreen.a
.phony testserial:
testserial: $(CGREEN_LIB)
CGREEN_DIR = "$(CURDIR)/$(SERIAL_DIR)/cgreen/cgreen"
CGREEN_BUILD_DIR = "$(CURDIR)/$(BUILDDIR)/cgreen"
export CGREEN_DIR
export CGREEN_BUILD_DIR
$(CGREEN_LIB):
make -C $(SERIAL_DIR)/cgreen