comparison Makefile @ 2:1d0b7dcea27f

Added manual setting of timestamps as wasn't working on both test machines.
author Carl Bussey <c.bussey@se10.qmul.ac.uk>
date Wed, 09 Jul 2014 14:32:32 +0100
parents 3fd1a41b089b
children 5125d34fda67
comparison
equal deleted inserted replaced
1:3fd1a41b089b 2:1d0b7dcea27f
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 := -arch x86_64 -I$(VAMP_SDK_DIR) -Wall -fPIC 41 CXXFLAGS := -mmacosx-version-min=10.6 -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
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) 99 install: $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT)
100 cp $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) /Library/Audio/Plug-Ins/Vamp 100 cp $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) ~/Library/Audio/Plug-Ins/Vamp
101 101
102 clean: 102 clean:
103 rm -f *.o *.dylib 103 rm -f *.o *.dylib
104 104