projects
/
Faustine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Examples' Makefiles are completed and tested.
[Faustine.git]
/
interpretor
/
lib
/
src
/
libsndfile-ocaml
/
Makefile
diff --git
a/interpretor/lib/src/libsndfile-ocaml/Makefile
b/interpretor/lib/src/libsndfile-ocaml/Makefile
index
8df3b1e
..
442bf57
100644
(file)
--- a/
interpretor/lib/src/libsndfile-ocaml/Makefile
+++ b/
interpretor/lib/src/libsndfile-ocaml/Makefile
@@
-1,4
+1,4
@@
-LIBSNDFILEDIR =
../../libsndfile/lib #/home/erikd/Local/lib
+LIBSNDFILEDIR =
$(realpath ../../libsndfile/lib)
CC = gcc
CFLAGS = -g -W -Wall -Werror -Wno-missing-field-initializers
CC = gcc
CFLAGS = -g -W -Wall -Werror -Wno-missing-field-initializers
@@
-13,7
+13,7
@@
SNDFILE_LIBS = $(shell pkg-config --libs sndfile)
OCAML_BINDIR = $(shell which ocaml)
OCAML_LIBDIR = $(subst bin,lib,$(OCAML_BINDIR))
OCAML_BINDIR = $(shell which ocaml)
OCAML_LIBDIR = $(subst bin,lib,$(OCAML_BINDIR))
-OCAML_CFLAGS = -I $(OCAML_LIBDIR)
#/usr/lib/ocaml/$(shell ocamlopt -version)
+OCAML_CFLAGS = -I $(OCAML_LIBDIR)
LIBSNDFILE = -ccopt -L$(LIBSNDFILEDIR) -cclib -lsndfile -cclib -lm
LIBSNDFILE = -ccopt -L$(LIBSNDFILEDIR) -cclib -lsndfile -cclib -lm