diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-02-14 00:05:58 +0200 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-02-14 00:05:58 +0200 |
commit | e70cefc12fb897f7221f7b1bc6fe0ce595eb2de1 (patch) | |
tree | 6a6426204c0c27589e0b210daab89dbc998d55af /serial_link.mk | |
parent | ffc425603dcbedf0da1d6aa1759f8f14f3a5e841 (diff) | |
download | qmk_firmware-e70cefc12fb897f7221f7b1bc6fe0ce595eb2de1.tar.gz qmk_firmware-e70cefc12fb897f7221f7b1bc6fe0ce595eb2de1.zip |
Add cgreen unit test library and makefile
Diffstat (limited to 'serial_link.mk')
-rw-r--r-- | serial_link.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/serial_link.mk b/serial_link.mk new file mode 100644 index 0000000000..51d33fcb41 --- /dev/null +++ b/serial_link.mk @@ -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
\ No newline at end of file |