Mercurial > hg > vamp-aubio-plugins
view Makefile.inc @ 96:66c38be4c67d
plugins/{Mfcc,MelEnergy}.cpp: fix mel filters to 40 for now, improve description
author | Paul Brossier <piem@piem.org> |
---|---|
date | Sat, 31 Jan 2015 13:33:26 +0100 |
parents | 46e40a39dcf2 |
children | 99ab4589999a |
line wrap: on
line source
# Makefile for vamp-aubio. This file gets included from platform specific makefiles. # # To build on OSX, use: # # $ make -f Makefile.osx # # To build on linux, use: # # $ make -f Makefile.linux # # To build with mingw32, use: # # $ 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 VAMPSDK_DIR ?= ../vamp-plugin-sdk PLUGIN_EXT ?= .so CXX ?= g++ CC ?= gcc # Location of our plugins # PLUGINDIR = plugins PLUGIN_OBJECTS = libmain.o $(patsubst %.cpp,%.o,$(wildcard $(PLUGINDIR)/*.cpp)) PLUGIN_HEADERS = $(patsubst %.cpp,%.h,$(wildcard $(PLUGINDIR)/*.cpp)) PLUGIN_TARGET = vamp-aubio$(PLUGIN_EXT) all: $(PLUGIN_TARGET) $(PLUGIN_TARGET): $(PLUGIN_OBJECTS) $(PLUGIN_HEADERS) $(CXX) -o $@ $(PLUGIN_OBJECTS) $(PLUGIN_LDFLAGS) $(PLUGIN_LIBS) clean: rm -f $(PLUGIN_OBJECTS) distclean: clean rm -f $(PLUGIN_TARGET) *~ */*~