Unit_Tests im makefile implementiert und test_stack.c fertig geschrieben

This commit is contained in:
2025-12-10 14:31:50 +01:00
parent 95af97bef7
commit 4825bbab43
3 changed files with 119 additions and 8 deletions
+3 -3
View File
@@ -36,14 +36,14 @@ $(program_obj_filesobj_files): %.o: %.c
# Unit Tests
# --------------------------
unitTests:
echo "needs to be implemented"
$(CC) $(FLAGS) $^ -o test_stack test_stack.c stack.c -Wall && ./test_stack
# --------------------------
# Clean
# --------------------------
clean:
ifeq ($(OS),Windows_NT)
del /f *.o doble
del /f *.o doble test_stack
else
rm -f *.o doble
rm -f *.o doble test_stack
endif