# Path to preprocessor header files
PREPROCESSOR_INCLUDE_PATH = $(PREPROCESSOR_PATH)/headers
-# Path to the interpretor documentation
+# Path to preprocessor cpp files
+PREPROCESSOR_SRC = $(wildcard $(PREPROCESSOR_PATH)/*/*.cpp) $(wildcard $(PREPROCESSOR_PATH)/draw/*/*.cpp)
+
+# Path to preprocessor obj files
+PREPROCESSOR_OBJ = $(PREPROCESSOR_SRC:.cpp=.o)
+
+# Path to the interpreter documentation
OCAML_DOC_PATH = ../documentation
########################## Advanced user's variables #####################
CSOURCES = $(filter %.cpp, $(SOURCES))
COBJS = $(CSOURCES:.cpp=.o)
-CLIBS = $(PREPROCESSOR_PATH)/preprocess.a
+#CLIBS = $(PREPROCESSOR_PATH)/preprocess.a
+CLIBS = $(PREPROCESSOR_OBJ)
PARSER_MLY = $(filter %.mly, $(SOURCES))
LEXER_MLL = $(filter %.mll, $(SOURCES))