Added Message Builder with Tests

This commit is contained in:
2025-07-22 14:31:24 +02:00
parent c564fedf65
commit beef75f31c
6 changed files with 594 additions and 20 deletions
+7
View File
@@ -4,11 +4,18 @@ SRC = Unity/src/unity.c test_parser.c \
../main/message_parser.c
TARGET = test_runner
.PHONY: test_builder
all: $(TARGET)
$(TARGET): $(SRC)
$(CC) $(CFLAGS) -o $@ $^
./$(TARGET)
test_builder: Unity/src/unity.c test_message_builder.c ../main/message_parser.c ../main/message_builder.c
$(CC) $(CFLAGS) -o $@ $^
@echo "--- Running Builder Tests ---"
./$(BUILDER_TEST_TARGET)
clean:
rm -f $(TARGET)