]> git.llucax.com Git - z.facultad/75.42/calculadora.git/blobdiff - Makefile
Se agrega una primera versiĆ³n (sin debuggear) del parser de variables. Se separan...
[z.facultad/75.42/calculadora.git] / Makefile
index 98e04837af99fe72a2ec6996cada46361de83e49..9b31f1509e81740485f672d5d21a3ccc0a6e54b8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ CFLAGS=-ansi -pedantic -Wall -g3 -DDEBUG
 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)
 
@@ -29,12 +29,16 @@ all: tp1
 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)