diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-02-14 01:31:01 +0200 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-02-14 01:31:01 +0200 |
commit | 3c6b93a491ab6ea280c30be26980e2ca91ba5c4c (patch) | |
tree | 6179643b5c812e2a4297d62245cb5e091b8e728f /serial_link_tests.mk | |
parent | e9a1474bb6a92024c8d4e3095d6b871833db1cf4 (diff) |
Add separate makefile for tests
Diffstat (limited to 'serial_link_tests.mk')
-rw-r--r-- | serial_link_tests.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/serial_link_tests.mk b/serial_link_tests.mk new file mode 100644 index 0000000000..36d7c09b3f --- /dev/null +++ b/serial_link_tests.mk @@ -0,0 +1,13 @@ +CGREEN_LIB = $(BUILDDIR)/cgreen/build-c/src/libcgreen.a + +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 + +.PHONY serialtest: +serialtest : $(CGREEN_LIB) + @echo $(CGREEN_LIB) + make -C $(SERIAL_DIR)/tests BUILDDIR=../../$(BUILDDIR)
\ No newline at end of file |