comparison Makefile @ 245:b32c68f08ec0

Use local sord/serd build
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 15 Jun 2017 09:38:52 +0100
parents f548eb11ae01
children 9142c859e636
comparison
equal deleted inserted replaced
244:f548eb11ae01 245:b32c68f08ec0
1 1
2 VAMPSDK_DIR := ../vamp-plugin-sdk 2 VAMPSDK_DIR := ../vamp-plugin-sdk
3 PIPER_DIR := ../piper 3 PIPER_DIR := ../piper
4 4
5 INCFLAGS := -Iext -I/usr/include/sord-0 -I/usr/include/serd-0 -I$(VAMPSDK_DIR) -I. -I/usr/local/include 5 INCFLAGS := -Iext -Iext/sord -Iext/serd -I$(VAMPSDK_DIR) -I. -I/usr/local/include
6 CXXFLAGS := -Wall -Wextra -Werror -Wno-error=unused-parameter -g3 -std=c++11 $(INCFLAGS)
7 6
8 #LDFLAGS := -L$(VAMPSDK_DIR) -L/usr/local/lib -lvamp-hostsdk -lcapnp -lkj 7 OPTFLAGS := -O3
9 LDFLAGS := $(VAMPSDK_DIR)/libvamp-hostsdk.a -lcapnp -lkj -lsord-0 -lserd-0 8
9 CFLAGS := -Wall $(OPTFLAGS) $(INCFLAGS)
10 CXXFLAGS := -Wall -Wextra -Werror -Wno-error=unused-parameter -std=c++11 $(OPTFLAGS) $(INCFLAGS)
11
12 LDFLAGS := -L$(VAMPSDK_DIR) -L/usr/local/lib -lvamp-hostsdk -lcapnp -lkj
10 13
11 LDFLAGS += -ldl 14 LDFLAGS += -ldl
12 15
13 COMMON_OBJS := ext/json11/json11.o vamp-capnp/piper.capnp.o 16 COMMON_OBJS := ext/json11/json11.o ext/sord/sord-single.o vamp-capnp/piper.capnp.o
14 17
15 TEST_SRCS := test/main.cpp test/vamp-client/tst_PluginStub.cpp 18 TEST_SRCS := test/main.cpp test/vamp-client/tst_PluginStub.cpp
16 TEST_OBJS := $(TEST_SRCS:.cpp=.o) 19 TEST_OBJS := $(TEST_SRCS:.cpp=.o)
17 20
18 all: bin bin/piper-convert bin/piper-vamp-simple-server bin/test-suite 21 all: bin bin/piper-convert bin/piper-vamp-simple-server bin/test-suite