# HG changeset patch # User Chris Cannam # Date 1464184184 -3600 # Node ID f8332b1acfc2d7dfc52ce3a1ed04a0c0f7794fba # Parent 1307d0d7e3ed9ad4d4ea750322ac657b268eb231 Adjust build for OSX diff -r 1307d0d7e3ed -r f8332b1acfc2 Makefile --- a/Makefile Wed May 25 14:37:32 2016 +0100 +++ b/Makefile Wed May 25 14:49:44 2016 +0100 @@ -1,7 +1,8 @@ CXXFLAGS := -Wall -Werror -g -std=c++11 -INCFLAGS := -Ivamp-plugin-sdk -Ijson -Icapnproto -I. -LDFLAGS := -Lvamp-plugin-sdk -Wl,-Bstatic -lvamp-hostsdk -Wl,-Bdynamic -lcapnp -lkj -ldl +INCFLAGS := -Ivamp-plugin-sdk -Ijson -I/usr/local/include -Icapnproto -I. + +LDFLAGS := vamp-plugin-sdk/libvamp-hostsdk.a -L/usr/local/lib -lcapnp -lkj -ldl #!!! todo: proper dependencies @@ -23,7 +24,7 @@ capnp compile $< -oc++ o/vamp.capnp.o: capnproto/vamp.capnp.c++ capnproto/vamp.capnp.h - c++ $(CXXFLAGS) -c $< -o $@ + c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@ o/json11.o: json/json11/json11.cpp c++ $(CXXFLAGS) -c $< -o $@