CC=gcc

all: test_stack

stack: clean
	$(CC) -g ../stack.c test_stack.c -o stack

test_stack: stack
	valgrind ./stack

clean:
	-rm stack