added and fixed stack

This commit is contained in:
2018-09-26 18:22:36 +02:00
parent e9801283e2
commit 712ff65af4
5 changed files with 65 additions and 4 deletions

12
test/Makefile Normal file
View File

@@ -0,0 +1,12 @@
CC=gcc
all: test_stack
stack: clean
$(CC) -g ../stack.c test_stack.c -o stack
test_stack: stack
valgrind ./stack
clean:
-rm stack