From e50af3b16bdc871b1f859b135128561e8cd9cd5d Mon Sep 17 00:00:00 2001 From: Charles Nicholson Date: Sat, 30 Dec 2023 00:27:19 -0500 Subject: [PATCH] fix makefile --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f3ada41..605f840 100644 --- a/Makefile +++ b/Makefile @@ -55,16 +55,16 @@ endif endif $(BUILD_DIR)/cobs_unittests: $(OBJS) $(BUILD_DIR)/cobs.c.o Makefile - $(CXX) $(LDFLAGS) $(COBS_SANITIZER) $(OBJS) $(BUILD_DIR)/cobs.c.o -o $@ + $(CXX) $(LDFLAGS) $(OBJS) $(BUILD_DIR)/cobs.c.o -o $@ $(BUILD_DIR)/cobs.c.o: cobs.c cobs.h Makefile - mkdir -p $(dir $@) && $(CC) $(CPPFLAGS) $(CFLAGS) $(COBS_SANITIZER) -c $< -o $@ + mkdir -p $(dir $@) && $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ $(BUILD_DIR)/%.c.o: %.c Makefile - mkdir -p $(dir $@) && $(CC) $(CPPFLAGS) $(CFLAGS) $(COBS_SANITIZER) -c $< -o $@ + mkdir -p $(dir $@) && $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ $(BUILD_DIR)/%.cc.o: %.cc Makefile - mkdir -p $(dir $@) && $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(COBS_SANITIZER) -c $< -o $@ + mkdir -p $(dir $@) && $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@ $(BUILD_DIR)/cobs_unittests.timestamp: $(BUILD_DIR)/cobs_unittests $(BUILD_DIR)/cobs_unittests -m && touch $(BUILD_DIR)/cobs_unittests.timestamp