Sortierung+Binärbaum
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user