summaryrefslogtreecommitdiff
path: root/prototype/fw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'prototype/fw/Makefile')
-rw-r--r--prototype/fw/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/prototype/fw/Makefile b/prototype/fw/Makefile
index 18e9447..33288b8 100644
--- a/prototype/fw/Makefile
+++ b/prototype/fw/Makefile
@@ -205,8 +205,11 @@ $(BUILDDIR)/microcobs_test_sg: src/microcobs.c test/microcobs_test_sg.c
$(BUILDDIR)/microcobs_test: src/microcobs.c test/microcobs_test.c
$(HOSTCC) $(HOST_CFLAGS) -o $@ -Isrc $^
+$(BUILDDIR)/microcobs_decode_test: src/microcobs.c test/microcobs_decode_test.c
+ $(HOSTCC) $(HOST_CFLAGS) -o $@ -Isrc $^
+
.PHONY: run_tests
-run_tests: $(BUILDDIR)/crc32_test $(BUILDDIR)/microcobs_test_sg $(BUILDDIR)/microcobs_test
+run_tests: $(BUILDDIR)/crc32_test $(BUILDDIR)/microcobs_test_sg $(BUILDDIR)/microcobs_test $(BUILDDIR)/microcobs_decode_test
$(PYTHON3) -m unittest test.crc32_ref
$(PYTHON3) -m unittest test.microcobs
@@ -224,6 +227,7 @@ clean:
rm -f $(BUILDDIR)/crc32_test
rm -f $(BUILDDIR)/microcobs_test_sg
rm -f $(BUILDDIR)/microcobs_test
+ rm -f $(BUILDDIR)/microcobs_decode_test
mrproper: clean
rm -rf build