X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/e8ece9554da2a7b920ae69961aa6828a90c20fd6..42d607127a467ca737dd903ad007d50a54533cf0:/interpretor/Makefile?ds=inline diff --git a/interpretor/Makefile b/interpretor/Makefile index 8576eda..89cf5a7 100644 --- a/interpretor/Makefile +++ b/interpretor/Makefile @@ -2,7 +2,7 @@ # # The Caml sources (including camlyacc and camllex source files) -SOURCES = types.ml parser.mly lexer.mll basic.ml symbol.ml aux.ml value.ml signal.ml beam.ml process.ml faustio.ml preprocess.ml main.ml preprocess_stubs.cpp +SOURCES = types.ml parser.mly lexer.mll aux.ml basic.ml symbol.ml value.ml signal.ml beam.ml process.ml faustio.ml preprocess.ml main.ml preprocess_stubs.cpp # The executable file to generate @@ -121,15 +121,16 @@ PARSER_MLY = $(filter %.mly, $(SOURCES)) LEXER_MLL = $(filter %.mll, $(SOURCES)) MIDDLE_ML = $(PARSER_MLY:.mly=.ml) $(LEXER_MLL:.mll=.ml) +preprocessor:: + echo "Compling preprocessor..." + cd $(FAUST_PATH) && $(MAKE) + $(EXEC): $(OBJS) $(COBJS) $(CLIBS) $(CAMLC) $(CAMLC_OPTIONS) -o $(EXEC) $(OBJS) $(COBJS) $(CLIBS) $(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)