CC=gcc-3.2
# Pruebas.
-TESTS=dllist_test memdebug_test parser_equation_test
+TESTS=dllist_test memdebug_test parser_equation_test parser_variable_test
# Programa a compilar.
TARGETS=$(TESTS)
tests: $(TESTS)
./dllist_test
./memdebug_test
+ ./parser_equation_test 'a = 40'
+ ./parser_variable_test 'a = 40'
dllist_test: dllist.o
memdebug_test: dllist.o meminfo.o memdebug.o
-parser_equation_test: dllist.o parseerror.o equation.o parser_equation.o
+parser_equation_test: dllist.o parseerror.o equation.o strutil.o parser_equation.o meminfo.o memdebug.o
+
+parser_variable_test: dllist.o parseerror.o variable.o strutil.o parser_variable.o meminfo.o memdebug.o
tp1: $(TARGETS)