2016-02-13 22:05:58 +00:00
|
|
|
CGREEN_LIB = $(BUILDDIR)/cgreen/build-c/src/libcgreen.a
|
|
|
|
|
|
|
|
.phony testserial:
|
|
|
|
testserial: $(CGREEN_LIB)
|
2016-02-13 22:20:14 +00:00
|
|
|
make -C $(SERIAL_DIR)/tests BUILDDIR=../../$(BUILDDIR)
|
2016-02-13 22:05:58 +00:00
|
|
|
|
|
|
|
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
|