From 0d1e8bf7d1c0dc25a8c629bad55daed79fe5e218 Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Wed, 6 Nov 2019 15:59:25 +0200 Subject: [PATCH 1/2] fix include crc.c in static lib building --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 50bcacd..9abd9ff 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,8 @@ SOURCES = $(wildcard *.c) \ drivers/serial/pcserialport.c \ - drivers/tcpip/tcpclient.c + drivers/tcpip/tcpclient.c \ + utils/crc.c OBJECTS = $(SOURCES:%.c=%.o) From 596ce85df1620ea17d85fcacaffba8e3591457e2 Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Wed, 6 Nov 2019 16:05:53 +0200 Subject: [PATCH 2/2] fix tests/Makefile cleaning uncompiled --- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile b/tests/Makefile index 0e248be..ec7b462 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -48,4 +48,4 @@ $(LIB_OUTDIR)/%.o: ../%.c clean: rm -f $(OBJ) $(LIB_OBJECTS) $(TEST_CASES) libsimplemotionv2.a - rmdir $(LIB_OUTDIR) + rm -rf $(LIB_OUTDIR)