To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / Makefile.osx
History | View | Annotate | Download (665 Bytes)
| 1 | 13:8bc4ec815b6b | matthiasm | PLUGIN_LIBRARY_NAME = onsetsdsplugin |
|---|---|---|---|
| 2 | VAMP_SDK_DIR = ../vamp-plugin-sdk |
||
| 3 | |||
| 4 | PLUGIN_CODE_OBJECTS = onsetsdsplugin.o onsetsds/src/onsetsds.o |
||
| 5 | |||
| 6 | 14:548765a9715d | Chris | ARCHFLAGS = -mmacosx-version-min=10.7 -arch x86_64 -stdlib=libc++ |
| 7 | 13:8bc4ec815b6b | matthiasm | CFLAGS = $(ARCHFLAGS) -Wall -fPIC -g -O3 |
| 8 | CXXFLAGS = $(CFLAGS) -I$(VAMP_SDK_DIR) -I. |
||
| 9 | PLUGIN_EXT = .dylib |
||
| 10 | PLUGIN = $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) |
||
| 11 | LDFLAGS = $(ARCHFLAGS) -dynamiclib -install_name $(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -framework Accelerate |
||
| 12 | |||
| 13 | |||
| 14 | $(PLUGIN): $(PLUGIN_CODE_OBJECTS) |
||
| 15 | $(CXX) -o $@ $^ $(LDFLAGS) |
||
| 16 | |||
| 17 | clean: |
||
| 18 | rm -f *.o */src/*.o |
||
| 19 | |||
| 20 | onsetsdsplugin.o: onsetsdsplugin.h onsetsds/src/onsetsds.h |
||
| 21 | onsetsds/onsetsds.o: onsetsds/src/onsetsds.h |