Success in test: ./configure + make + sudo make install + make test + make example.
# Faustine top-level Makefile.
EXEC = faustine
# Faustine top-level Makefile.
EXEC = faustine
PREPROCESSOR_DIR = $(SRC_DIR)/preprocessor/faust-0.9.47mr3
EXAMPLES_DIR = examples
SINWAVE_DIR = $(EXAMPLES_DIR)/sinwave
PREPROCESSOR_DIR = $(SRC_DIR)/preprocessor/faust-0.9.47mr3
EXAMPLES_DIR = examples
SINWAVE_DIR = $(EXAMPLES_DIR)/sinwave
install :
mkdir -p $(prefix)/lib/faustine/
mkdir -p $(prefix)/bin/
install :
mkdir -p $(prefix)/lib/faustine/
mkdir -p $(prefix)/bin/
- install interpretor/faustine $(prefix)/bin/
+ install $(SRC_DIR)/faustine $(prefix)/bin/
install -m 0644 $(arch) $(prefix)/lib/faustine/
uninstall :
install -m 0644 $(arch) $(prefix)/lib/faustine/
uninstall :
configure compilation configuration script
examples/ vector examples (fft, image processingÉ)
INSTALL.txt Faustine installation instructions
configure compilation configuration script
examples/ vector examples (fft, image processingÉ)
INSTALL.txt Faustine installation instructions
- interpretor/ Faustine's interpretor source code
+ interpreter/ Faustine's interpreter source code
LICENSE.txt license and copyright notice
Makefile main Makefile to compile and install
README.txt this file
LICENSE.txt license and copyright notice
Makefile main Makefile to compile and install
README.txt this file
//process = erosions(8, 8, 3);
//process = open(8, 8, 2);
//process = close(8, 8, 5);
//process = erosions(8, 8, 3);
//process = open(8, 8, 2);
//process = close(8, 8, 5);
-process = licenceplate(4, 4, 15, 8, 1, 50, 150, 255, 4, 4, 2, 20);
+//process = licenceplate(4, 4, 15, 8, 1, 50, 150, 255, 4, 4, 2, 20);
-LIBSNDFILE_PREFIX=$PWD/interpretor/lib
+LIBSNDFILE_PREFIX=$PWD/interpreter/lib
LIBSNDFILE_SRCDIR=$LIBSNDFILE_PREFIX/src/libsndfile-1.0.25
LIBSNDFILE_DESTNAME=libsndfile
DESTDIR=$LIBSNDFILE_PREFIX/$LIBSNDFILE_DESTNAME
LIBSNDFILE_SRCDIR=$LIBSNDFILE_PREFIX/src/libsndfile-1.0.25
LIBSNDFILE_DESTNAME=libsndfile
DESTDIR=$LIBSNDFILE_PREFIX/$LIBSNDFILE_DESTNAME
clean::
@$(foreach example, $(EXAMPLES), $(MAKE) -C $(example) clean;)
clean::
@$(foreach example, $(EXAMPLES), $(MAKE) -C $(example) clean;)
# Path to preprocessor header files
PREPROCESSOR_INCLUDE_PATH = $(PREPROCESSOR_PATH)/headers
# Path to preprocessor header files
PREPROCESSOR_INCLUDE_PATH = $(PREPROCESSOR_PATH)/headers
-# Path to the interpretor documentation
+# Path to preprocessor cpp files
+PREPROCESSOR_SRC = $(wildcard $(PREPROCESSOR_PATH)/*/*.cpp) $(wildcard $(PREPROCESSOR_PATH)/draw/*/*.cpp)
+
+# Path to preprocessor obj files
+PREPROCESSOR_OBJ = $(PREPROCESSOR_SRC:.cpp=.o)
+
+# Path to the interpreter documentation
OCAML_DOC_PATH = ../documentation
########################## Advanced user's variables #####################
OCAML_DOC_PATH = ../documentation
########################## Advanced user's variables #####################
CSOURCES = $(filter %.cpp, $(SOURCES))
COBJS = $(CSOURCES:.cpp=.o)
CSOURCES = $(filter %.cpp, $(SOURCES))
COBJS = $(CSOURCES:.cpp=.o)
-CLIBS = $(PREPROCESSOR_PATH)/preprocess.a
+#CLIBS = $(PREPROCESSOR_PATH)/preprocess.a
+CLIBS = $(PREPROCESSOR_OBJ)
PARSER_MLY = $(filter %.mly, $(SOURCES))
LEXER_MLL = $(filter %.mll, $(SOURCES))
PARSER_MLY = $(filter %.mly, $(SOURCES))
LEXER_MLL = $(filter %.mll, $(SOURCES))
CXXFLAGS ?= -O3 -Wall -Wuninitialized $(ARCHFLAGS)
CXXFLAGS += -Wno-parentheses $(addprefix -I, $(subprojects)) -DINSTALL_PREFIX='"$(prefix)"'
CXXFLAGS ?= -O3 -Wall -Wuninitialized $(ARCHFLAGS)
CXXFLAGS += -Wno-parentheses $(addprefix -I, $(subprojects)) -DINSTALL_PREFIX='"$(prefix)"'
-all : faust preprocess.a # Haisheng WANG adds preprocess.a for multirate faust interpretor
+all : faust preprocess.a # Haisheng WANG adds preprocess.a for multirate faust interpreter
faust : $(objects)
$(CXX) $(CXXFLAGS) $(objects) -o faust
faust : $(objects)
$(CXX) $(CXXFLAGS) $(objects) -o faust