Add makefile for compiling and running unit tests
This commit is contained in:
parent
e70cefc12f
commit
e9a1474bb6
2 changed files with 50 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ CGREEN_LIB = $(BUILDDIR)/cgreen/build-c/src/libcgreen.a
|
|||
|
||||
.phony testserial:
|
||||
testserial: $(CGREEN_LIB)
|
||||
make -C $(SERIAL_DIR)/tests BUILDDIR=../../$(BUILDDIR)
|
||||
|
||||
CGREEN_DIR = "$(CURDIR)/$(SERIAL_DIR)/cgreen/cgreen"
|
||||
CGREEN_BUILD_DIR = "$(CURDIR)/$(BUILDDIR)/cgreen"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue