erste tests stack.c

This commit is contained in:
Max-R committed 2025-12-05 10:41:30 +01:00
1 parent e7423f0a20
commit ddd4132e1f
3 files changed
+67 -1

No files matched your search

+7 -1
View File
@@ -36,7 +36,13 @@ $(program_obj_filesobj_files): %.o: %.c
# Unit Tests
# --------------------------
unitTests:
echo "needs to be implemented"
TEST_BIN = runTests
unitTests: stack.o test_stack.o
$(CC) $(FLAGS) -I$(unityfolder) -o $(TEST_BIN) stack.o test_stack.o $(unityfolder)/unity.c
test_stack.o: test_stack.c
$(CC) $(FLAGS) -I$(unityfolder) -c test_stack.c -o test_stack.o
# --------------------------
# Clean