X-Git-Url: https://git.llucax.com/z.facultad/75.42/calculadora.git/blobdiff_plain/7dc1a91d07974a66011ba31fffd4b6c36b7969cb..0f0090fd999b6194842cbff05ee4f93d69c43000:/Makefile diff --git a/Makefile b/Makefile index 831f9a7..9b31f15 100644 --- 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 meminfo.o memdebug.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)