projects
/
vamp-aubio-plugins.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
plugins/Onset.cpp: improve parameters handling, use same defaults as aubioonset
[vamp-aubio-plugins.git]
/
Makefile.inc
diff --git
a/Makefile.inc
b/Makefile.inc
index
1fa6e5c
..
fb0ef35
100644
(file)
--- a/
Makefile.inc
+++ b/
Makefile.inc
@@
-12,18
+12,18
@@
#
# $ make -f Makefile.mingw
#
# $ make -f Makefile.mingw
-CFLAGS := $(ARCHFLAGS) $(CFLAGS)
-CXXFLAGS := $(CFLAGS) -I. -I$(VAMPSDK_DIR) $(CXXFLAGS)
-
-LDFLAGS := -L$(VAMPSDK_DIR) -laubio $(LDFLAGS)
-PLUGIN_LDFLAGS := $(LDFLAGS) $(PLUGIN_LDFLAGS)
-
# Defaults, overridden from the platform-specific Makefile
# Defaults, overridden from the platform-specific Makefile
-VAMPSDK_DIR ?= .
./vamp-plugin-sdk
+VAMPSDK_DIR ?= .
/contrib/vamp-plugin-sdk-2.6
PLUGIN_EXT ?= .so
CXX ?= g++
CC ?= gcc
PLUGIN_EXT ?= .so
CXX ?= g++
CC ?= gcc
+CFLAGS := $(ARCHFLAGS) $(CFLAGS)
+CXXFLAGS := $(CFLAGS) -I$(VAMPSDK_DIR) $(CXXFLAGS)
+
+LDFLAGS := $(ARCHFLAGS) -L$(VAMPSDK_DIR) $(LDFLAGS)
+PLUGIN_LDFLAGS := $(LDFLAGS) $(PLUGIN_LDFLAGS)
+
# Location of our plugins
#
PLUGINDIR = plugins
# Location of our plugins
#
PLUGINDIR = plugins
@@
-32,6
+32,9
@@
PLUGIN_OBJECTS = libmain.o $(patsubst %.cpp,%.o,$(wildcard $(PLUGINDIR)/*.cpp))
PLUGIN_HEADERS = $(patsubst %.cpp,%.h,$(wildcard $(PLUGINDIR)/*.cpp))
PLUGIN_TARGET = vamp-aubio$(PLUGIN_EXT)
PLUGIN_HEADERS = $(patsubst %.cpp,%.h,$(wildcard $(PLUGINDIR)/*.cpp))
PLUGIN_TARGET = vamp-aubio$(PLUGIN_EXT)
+# use local aubio, can be build with ./scripts/get_aubio.sh
+CXXFLAGS := $(CXXFLAGS) -I./contrib/aubio-dist/include
+
all: $(PLUGIN_TARGET)
$(PLUGIN_TARGET): $(PLUGIN_OBJECTS) $(PLUGIN_HEADERS)
all: $(PLUGIN_TARGET)
$(PLUGIN_TARGET): $(PLUGIN_OBJECTS) $(PLUGIN_HEADERS)
@@
-42,3
+45,4
@@
clean:
distclean: clean
rm -f $(PLUGIN_TARGET) *~ */*~
distclean: clean
rm -f $(PLUGIN_TARGET) *~ */*~
+