Test commit into the README file.
[Faustine.git] / Makefile
1
2 SOURCE_DIR = interpretor
3 PREPROCESSOR_DIR = $(SOURCE_DIR)/faust-0.9.47mr3
4
5 all: MRFausti
6
7 MRFausti:
8 @(cp $(SNDFILE_PATH)/sndfile_stub.o $(SOURCE_DIR))
9 @(cd $(SOURCE_DIR) && $(MAKE) opt OCAML_INCLUDE_PATH=$(OCAML_INCLUDE_PATH) SNDFILE_PATH=$(SNDFILE_PATH))
10 @(cd $(SOURCE_DIR) && $(MAKE) clean)
11
12 clean:
13 @(cd $(SOURCE_DIR) && $(MAKE) clean)
14 @(rm -f *~)
15
16 mrproper: clean
17 @(cd $(SOURCE_DIR) && $(MAKE) mrproper)
18 @(cd $(PREPROCESSOR_DIR) && $(MAKE) clean)
19
20 # Sndfile-ocaml library path
21
22 OCAML_INCLUDE_PATH = /usr/lib/ocaml
23 SNDFILE_PATH = ~/Desktop/libsndfile-ocaml