X-Git-Url: https://scm.cri.mines-paristech.fr/git/Faustine.git/blobdiff_plain/4ecbf362e0d1d0abb9a7f0e9af8322472f28f7d1..992d59159547267e1491fcd1c5123765b4c452b8:/interpretor/Makefile?ds=sidebyside 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)