comparison Makefile @ 1:3fd1a41b089b

* Now displaying some output. Needs testing to see if bugs are present.
author Carl Bussey <c.bussey@se10.qmul.ac.uk>
date Wed, 09 Jul 2014 10:26:51 +0100
parents 31d2a7e07786
children 1d0b7dcea27f
comparison
equal deleted inserted replaced
0:31d2a7e07786 1:3fd1a41b089b
28 PLUGIN_HEADERS := Tempogram.h FIRFilter.h WindowFunction.h 28 PLUGIN_HEADERS := Tempogram.h FIRFilter.h WindowFunction.h
29 29
30 # Edit this to the location of the Vamp plugin SDK, relative to your 30 # Edit this to the location of the Vamp plugin SDK, relative to your
31 # project directory 31 # project directory
32 # 32 #
33 VAMP_SDK_DIR := /usr/local/bin 33 VAMP_SDK_DIR := /usr/local/include
34 34
35 35
36 ## Uncomment these for an OS/X universal binary (32- and 64-bit Intel) 36 ## Uncomment these for an OS/X universal binary (32- and 64-bit Intel)
37 ## supporting 10.5 or newer. Use this if you have OS/X 10.7 with the 37 ## supporting 10.5 or newer. Use this if you have OS/X 10.7 with the
38 ## Xcode 4 command-line tools. 38 ## Xcode 4 command-line tools.
39 39
40 CXX := g++ 40 CXX := g++
41 CXXFLAGS := -mmacosx-version-min=10.5 -arch x86_64 -I$(VAMP_SDK_DIR) -Wall -fPIC 41 CXXFLAGS := -arch x86_64 -I$(VAMP_SDK_DIR) -Wall -fPIC
42 PLUGIN_EXT := .dylib 42 PLUGIN_EXT := .dylib
43 LDFLAGS := $(CXXFLAGS) -dynamiclib -install_name $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) /usr/local/lib/libvamp-sdk.a -exported_symbols_list vamp-plugin.list 43 LDFLAGS := $(CXXFLAGS) -dynamiclib -install_name $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) /usr/local/lib/libvamp-sdk.a -exported_symbols_list vamp-plugin.list
44 44
45 45
46 ## Uncomment these for an OS/X universal binary (PPC and 32- and 46 ## Uncomment these for an OS/X universal binary (PPC and 32- and
94 $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT): $(PLUGIN_OBJECTS) 94 $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT): $(PLUGIN_OBJECTS)
95 $(CXX) -o $@ $^ $(LDFLAGS) 95 $(CXX) -o $@ $^ $(LDFLAGS)
96 96
97 $(PLUGIN_OBJECTS): $(PLUGIN_HEADERS) 97 $(PLUGIN_OBJECTS): $(PLUGIN_HEADERS)
98 98
99 install: $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT)
100 cp $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) /Library/Audio/Plug-Ins/Vamp
101
99 clean: 102 clean:
100 rm -f *.o *.dylib 103 rm -f *.o *.dylib
101 104