X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/b4b6f2ea75b9f0f3ca918f5b84016610bf7a4d4f..de2caab6239e9119fa066debce669e33e514784a:/interpretor/Makefile?ds=inline

diff --git a/interpretor/Makefile b/interpretor/Makefile
index 4b0027e..8576eda 100644
--- a/interpretor/Makefile
+++ b/interpretor/Makefile
@@ -121,15 +121,15 @@ 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))
-
-$(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)
 
+$(CLIBS):
+	@(cd $(FAUST_PATH) && $(MAKE))
+
 document: $(SMLYL) $(OBJS)
 	$(CAMLDOC) $(CAMLDOC_OPTIONS) $(SMLYL)