Added Message Builder with Tests
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user