added makefile command

This commit is contained in:
Jens Burger 2025-12-09 10:38:00 +01:00
parent 8deeb6417e
commit 53c12ce0ed

View File

@ -38,6 +38,11 @@ $(program_obj_filesobj_files): %.o: %.c
unitTests:
echo "needs to be implemented"
stack: stack.c
$(CC) $(FLAGS) -c stack stack.c
test_stack: stack.o test_stack.c $(unityfolder)/unity.c
$(CC) $(FLAGS) -o runstackTests test_stack.c stack.o $(unityfolder)/unity.c
# --------------------------
# Clean
# --------------------------