diff options
author | jaseg <git@jaseg.de> | 2020-11-26 18:03:41 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2020-11-26 18:03:41 +0100 |
commit | 0a03b84e1756b36d014a83f685da1950a8e8361e (patch) | |
tree | 3dbccdee1a6fb091aa8ffaeafddb7d0a4617f829 /prototype/fw/Makefile | |
parent | e6157913bb91947ee467c502f45842d1dab3f662 (diff) | |
download | ihsm-0a03b84e1756b36d014a83f685da1950a8e8361e.tar.gz ihsm-0a03b84e1756b36d014a83f685da1950a8e8361e.tar.bz2 ihsm-0a03b84e1756b36d014a83f685da1950a8e8361e.zip |
Add cobs decoder
Diffstat (limited to 'prototype/fw/Makefile')
-rw-r--r-- | prototype/fw/Makefile | 6 |
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 |