X-Git-Url: https://svn.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/b4b6f2ea75b9f0f3ca918f5b84016610bf7a4d4f..d6a658d27ada22781784b8e5e47947589c052583:/interpretor/Makefile

diff --git a/interpretor/Makefile b/interpretor/Makefile
index 4b0027e..3a35e1c 100644
--- a/interpretor/Makefile
+++ b/interpretor/Makefile
@@ -121,13 +121,14 @@ PARSER_MLY = $(filter %.mly, $(SOURCES))
 LEXER_MLL = $(filter %.mll, $(SOURCES))
 MIDDLE_ML = $(PARSER_MLY:.mly=.ml) $(LEXER_MLL:.mll=.ml)
 
-preprocessor:
-	@(cd $(FAUST_PATH) && $(MAKE))
+preprocessor::
+	echo "Compling preprocessor..."
+	cd $(FAUST_PATH) && $(MAKE)
 
-$(EXEC): $(OBJS) $(COBJS)
+$(EXEC): $(OBJS) $(COBJS) $(CLIBS)
 	$(CAMLC) $(CAMLC_OPTIONS) -o $(EXEC) $(OBJS) $(COBJS) $(CLIBS)
 
-$(EXEC).opt: $(OPTOBJS) $(COBJS)
+$(EXEC).opt: $(OPTOBJS) $(COBJS) $(CLIBS)
 	$(CAMLOPT) $(CAMLOPT_OPTIONS) -o $(EXEC) $(OPTOBJS) $(COBJS) $(CLIBS)
 
 document: $(SMLYL) $(OBJS)