Mercurial > hg > lowfreq
view Makefile.inc @ 8:c037af3977e1
Don't make the overlap a parameter, it's too fiddly to handle. Just choose the smallest step size that gives an integral input-frames-per-output-bin
author | Chris Cannam |
---|---|
date | Wed, 12 Mar 2014 12:01:54 +0000 |
parents | 411c5c28fc43 |
children |
line wrap: on
line source
PLUGIN_EXT ?= .so CXX ?= g++ CC ?= gcc CFLAGS := $(CFLAGS) CXXFLAGS := -I. $(CXXFLAGS) PLUGIN := lowfreq$(PLUGIN_EXT) SOURCES := LowFreq.cpp PLUGIN_MAIN := plugins.cpp TESTS := OBJECTS := $(SOURCES:.cpp=.o) OBJECTS := $(OBJECTS:.c=.o) PLUGIN_OBJECTS := $(OBJECTS) $(PLUGIN_MAIN:.cpp=.o) all: $(PLUGIN) $(TESTS) for t in $(TESTS); do echo "Running $$t"; ./"$$t" || exit 1; done plugin: $(PLUGIN) $(PLUGIN): $(PLUGIN_OBJECTS) $(CXX) -o $@ $^ $(PLUGIN_LDFLAGS) clean: rm -f $(PLUGIN_OBJECTS) test/*.o distclean: clean rm -f $(PLUGIN) $(TESTS) depend: makedepend -Y -fMakefile.inc *.cpp test/*.cpp *.h test/*.h # DO NOT DELETE LowFreq.o: LowFreq.h plugins.o: LowFreq.h