added and fixed stack
This commit is contained in:
12
interpreter/test/Makefile
Normal file
12
interpreter/test/Makefile
Normal 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
|
Reference in New Issue
Block a user