Fix bugs in interpreter/Makefile.
authorWANG <wang@wang-OptiPlex-780.(none)>
Thu, 5 Sep 2013 15:43:57 +0000 (17:43 +0200)
committerWANG <wang@wang-OptiPlex-780.(none)>
Thu, 5 Sep 2013 15:43:57 +0000 (17:43 +0200)
interpretor/Makefile
interpretor/preprocessor/faust-0.9.47mr3/Makefile
interpretor/types.ml

index 8576eda..3a35e1c 100644 (file)
@@ -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)
 
index f184d25..943df95 100644 (file)
@@ -1,4 +1,4 @@
-version := 0.9.47mr2
+version := 0.9.47mr3
 
 DESTDIR ?= 
 PREFIX ?= /usr/local
index 3f0631b..f8aeeb8 100644 (file)
@@ -98,7 +98,7 @@ class type rate_type =
 
 class type signal_type = 
     object
-      method frequency : rate_type
+      method frequency : int
       method at : time -> value_type
       method add_memory : int -> unit
       method add : signal_type -> signal_type