comparison Makefile @ 256:0e3a36ba8736

PIC
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 02 Feb 2018 11:44:51 +0000
parents 0701519bb35b
children febeaa54bd81
comparison
equal deleted inserted replaced
255:e8a5d7443b09 256:0e3a36ba8736
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 -Iext/sord -Iext/serd -I$(VAMPSDK_DIR) -I. -I/usr/local/include 5 INCFLAGS := -Iext -Iext/sord -Iext/serd -I$(VAMPSDK_DIR) -I. -I/usr/local/include
6 6
7 OPTFLAGS := -O3 7 OPTFLAGS := -O3 -fPIC
8 8
9 CFLAGS := -Wall -std=c99 $(OPTFLAGS) $(INCFLAGS) 9 CFLAGS := -Wall -std=c99 $(OPTFLAGS) $(INCFLAGS)
10 CXXFLAGS := -Wall -Wextra -Werror -Wno-error=unused-parameter -std=c++11 $(OPTFLAGS) $(INCFLAGS) 10 CXXFLAGS := -Wall -Wextra -Werror -Wno-error=unused-parameter -std=c++11 $(OPTFLAGS) $(INCFLAGS)
11 11
12 LDFLAGS := $(VAMPSDK_DIR)/libvamp-hostsdk.a -L/usr/local/lib -lcapnp -lkj 12 LDFLAGS := $(VAMPSDK_DIR)/libvamp-hostsdk.a -L/usr/local/lib -lcapnp -lkj