projects
/
Faustine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefiles chain, dependancies and libsndfile configure checked.
[Faustine.git]
/
interpretor
/
lib
/
Makefile
diff --git
a/interpretor/lib/Makefile
b/interpretor/lib/Makefile
index
d6ed16f
..
5c8d5ad
100644
(file)
--- a/
interpretor/lib/Makefile
+++ b/
interpretor/lib/Makefile
@@
-10,16
+10,13
@@
all: librairies
librairies : libsndfile libsfocaml
libsndfile:
librairies : libsndfile libsfocaml
libsndfile:
- mkdir -p $(DESTDIR)
- cd $(LIBSNDFILE_SRCDIR) && ./configure --prefix="$(DESTDIR)" --exec_prefix="$(DESTDIR)"
- cd $(LIBSNDFILE_SRCDIR) && make
- cd $(LIBSNDFILE_SRCDIR) && make install
- cd $(LIBSNDFILE_SRCDIR) && make clean
+ $(MAKE) -C $(LIBSNDFILE_SRCDIR)
+ $(MAKE) -C $(LIBSNDFILE_SRCDIR) install
libsfocaml:
cd $(LIBSFOCAML_SRCDIR) && PKG_CONFIG_PATH=$(DESTDIR)/lib/pkgconfig
libsfocaml:
cd $(LIBSFOCAML_SRCDIR) && PKG_CONFIG_PATH=$(DESTDIR)/lib/pkgconfig
- cd $(LIBSFOCAML_SRCDIR) && make
- cd $(LIBSFOCAML_SRCDIR) #&& make clean
+ $(MAKE) -C $(LIBSFOCAML_SRCDIR) depend
+ $(MAKE) -C $(LIBSFOCAML_SRCDIR)
.PHONY: clean mrproper help libsndfile libsfocaml
.PHONY: clean mrproper help libsndfile libsfocaml
@@
-28,8
+25,9
@@
help :
@echo "make clean : remove all object files"
clean:
@echo "make clean : remove all object files"
clean:
- @(cd $(LIBSNDFILE_SRCDIR) && $(MAKE) clean)
@(rm -f *~)
mrproper: clean
rm -rf $(DESTDIR)
@(rm -f *~)
mrproper: clean
rm -rf $(DESTDIR)
+ @($(MAKE) -C $(LIBSNDFILE_SRCDIR) clean)
+ @($(MAKE) -C $(LIBSFOCAML_SRCDIR) clean)