From 53c12ce0edf7143897dbf06007bf1ecbe2801b7a Mon Sep 17 00:00:00 2001 From: Jens Burger Date: Tue, 9 Dec 2025 10:38:00 +0100 Subject: [PATCH] added makefile command --- makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/makefile b/makefile index 1f15f75..b7019df 100644 --- a/makefile +++ b/makefile @@ -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 # --------------------------