-MRFausti:
- @(cp $(SNDFILE_PATH)/sndfile_stub.o $(SOURCE_DIR))
- @(cd $(SOURCE_DIR) && $(MAKE) opt OCAML_INCLUDE_PATH=$(OCAML_INCLUDE_PATH) SNDFILE_PATH=$(SNDFILE_PATH))
- @(cd $(SOURCE_DIR) && $(MAKE) clean)
+all: $(EXEC)
+
+faustine:
+ $(MAKE) -C $(SRC_DIR) opt # using ocamlopt compiler (optimized)
+
+.PHONY: clean mrproper test help install uninstall
+
+help :
+ @echo "make or make all : compiler the faustine interpreter"
+ @echo "make clean : remove all object files"
+ @echo "make doc : generate the documentation using ocamldoc (TODO)"
+ @echo "make install : install the interpreter and the library files in $(prefix)/bin $(prefix)/lib/faustine"
+ @echo "make uninstall : undo what install did"
+ @echo "make dist : make a tar.gz file ready for distribution (TODO)"