Mercurial > hg > vamp-onsetsds-plugin
annotate Makefile.osx @ 15:a55de4e9d7e1 tip
URLs
author | Chris Cannam |
---|---|
date | Wed, 29 Jun 2016 09:31:59 +0100 |
parents | 548765a9715d |
children |
rev | line source |
---|---|
matthiasm@13 | 1 PLUGIN_LIBRARY_NAME = onsetsdsplugin |
matthiasm@13 | 2 VAMP_SDK_DIR = ../vamp-plugin-sdk |
matthiasm@13 | 3 |
matthiasm@13 | 4 PLUGIN_CODE_OBJECTS = onsetsdsplugin.o onsetsds/src/onsetsds.o |
matthiasm@13 | 5 |
Chris@14 | 6 ARCHFLAGS = -mmacosx-version-min=10.7 -arch x86_64 -stdlib=libc++ |
matthiasm@13 | 7 CFLAGS = $(ARCHFLAGS) -Wall -fPIC -g -O3 |
matthiasm@13 | 8 CXXFLAGS = $(CFLAGS) -I$(VAMP_SDK_DIR) -I. |
matthiasm@13 | 9 PLUGIN_EXT = .dylib |
matthiasm@13 | 10 PLUGIN = $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) |
matthiasm@13 | 11 LDFLAGS = $(ARCHFLAGS) -dynamiclib -install_name $(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -framework Accelerate |
matthiasm@13 | 12 |
matthiasm@13 | 13 |
matthiasm@13 | 14 $(PLUGIN): $(PLUGIN_CODE_OBJECTS) |
matthiasm@13 | 15 $(CXX) -o $@ $^ $(LDFLAGS) |
matthiasm@13 | 16 |
matthiasm@13 | 17 clean: |
matthiasm@13 | 18 rm -f *.o */src/*.o |
matthiasm@13 | 19 |
matthiasm@13 | 20 onsetsdsplugin.o: onsetsdsplugin.h onsetsds/src/onsetsds.h |
matthiasm@13 | 21 onsetsds/onsetsds.o: onsetsds/src/onsetsds.h |