diff --git a/test/makefile b/test/makefile index 25bdc9b..7618e5b 100644 --- a/test/makefile +++ b/test/makefile @@ -7,7 +7,14 @@ LIBS += ODIR = obj #TARGETS = $(wildcard ../source/*.c) $(wildcard ../repl/lib_*.c) -TARGETS = ../source/memory.c ../source/refstring.c ../source/literal.c ../source/literal_array.c ../source/literal_dictionary.c ../source/scope.c +#literal primitive +TARGETS+=../source/memory.c ../source/refstring.c ../source/literal.c ../source/literal_array.c ../source/literal_dictionary.c ../source/scope.c + +#lexer +TARGETS+=../source/toy_common.c ../source/keyword_types.c ../source/lexer.c + +#parser +#TARGETS+= TESTS = $(wildcard test_*.c) OBJ = $(addprefix $(ODIR)/,$(TARGETS:../source/%.c=%.o)) $(addprefix $(ODIR)/,$(TESTS:.c=.o)) diff --git a/test/xtest_lexer.c b/test/test_lexer.c similarity index 100% rename from test/xtest_lexer.c rename to test/test_lexer.c