From 2368c9f3b9750a32591af020445e8c71f8878111 Mon Sep 17 00:00:00 2001 From: Hofmann Jonas Date: Tue, 9 Dec 2025 22:27:14 +0100 Subject: [PATCH] added stack to makefile --- makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/makefile b/makefile index f827225..75e302c 100644 --- a/makefile +++ b/makefile @@ -38,6 +38,12 @@ $(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 + bintree: bintree.c $(CC) $(FLAGS) -c bintree bintree.c