Unit_Tests im makefile implementiert und test_stack.c fertig geschrieben
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user