diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-02-14 00:20:14 +0200 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-02-14 00:20:14 +0200 |
commit | e9a1474bb6a92024c8d4e3095d6b871833db1cf4 (patch) | |
tree | fd735d0ef317193a2a4086e9c2668ac0d2907b18 /serial_link.mk | |
parent | e70cefc12fb897f7221f7b1bc6fe0ce595eb2de1 (diff) |
Add makefile for compiling and running unit tests
Diffstat (limited to 'serial_link.mk')
-rw-r--r-- | serial_link.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/serial_link.mk b/serial_link.mk index 51d33fcb41..8e8de807f5 100644 --- a/serial_link.mk +++ b/serial_link.mk @@ -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" |