Sortierung+Binärbaum

This commit is contained in:
shobayoeniolasi99076
2026-05-31 09:41:27 +02:00
parent a5c502da46
commit a81141fb06
19 changed files with 1657 additions and 35 deletions
+17 -2
View File
@@ -38,12 +38,27 @@ $(program_obj_files): %.o: %.c
unitTests:
echo "needs to be implemented"
# --------------------------
# Test: test_numbers
# --------------------------
test_numbers: stack.o bintree.o numbers.o unity.o
$(CC) $(FLAGS) -Iunity test_numbers.c $^ -o runTest_numbers
unity.o:
$(CC) -c $(FLAGS) -Iunity unity/unity.c -o unity.o
# --------------------------
# Test: test_bintree
# --------------------------
test_bintree: stack.o bintree.o unity.o
$(CC) $(FLAGS) -Iunity test_bintree.c $^ -o runTest_bintree
# --------------------------
# Clean
# --------------------------
clean:
ifeq ($(OS),Windows_NT)
del /f *.o doble
del /f *.o doble runTest_numbers runTest_bintree
else
rm -f *.o doble
rm -f *.o doble runTest_numbers runTest_bintree
endif