X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/4c9486f4df577e7227a45855745cbd8350cf4097..1059e1cc0c2ecfa237406949aa26155b6a5b9154:/interpretor/Makefile

diff --git a/interpretor/Makefile b/interpretor/Makefile
index d7ec8b7..715aadc 100644
--- a/interpretor/Makefile
+++ b/interpretor/Makefile
@@ -130,11 +130,11 @@ MIDDLE_ML = $(PARSER_MLY:.mly=.ml) $(LEXER_MLL:.mll=.ml)
 
 preprocessor::
 	@echo "Compiling preprocessor..."
-	cd $(FAUST_PATH) && $(MAKE)
+	$(MAKE) -C $(FAUST_PATH) preprocessor
 
 libsndfile-ocaml::
 	@echo "Compiling libsndfile-ocaml..."
-	cd $(SNDFILE_PATH) && $(MAKE)
+	$(MAKE) -C $(SNDFILE_PATH)
 
 
 $(EXEC): $(OBJS) $(COBJS) $(CLIBS)
@@ -213,12 +213,12 @@ faustio.cmx: faustio.ml
 
 clean::
 	rm -f *.cm[iox] *~ .*~
-	rm -f $(MIDDLE_ML) *.o $(MLIS) .depend*
-	@cd $(SNDFILE_PATH) && $(MAKE) clean
+	rm -f $(MIDDLE_ML) *.o $(MLIS) # .depend*
+	@$(MAKE) -C $(SNDFILE_PATH) clean
 
 mrproper: clean
-	@cd $(SNDFILE_PATH) && $(MAKE) mrproper
-	rm -f $(EXEC)*
+	@$(MAKE) -C $(SNDFILE_PATH) mrproper
+	rm -f $(EXEC)* .depend*
 
 .depend.input: Makefile
 	@echo -n '--Checking Ocaml input files: '