view generator/Makefile @ 153:38675dcea44f

Bring the stub generator into this repo (from piper-vamp-cpp)
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 14 Jun 2017 10:06:30 +0100
parents
children 205f9a6240f5
line wrap: on
line source

VAMPSDK_DIR	:= ../../vamp-plugin-sdk
PIPERCPP_DIR    := ../../piper-vamp-cpp
PIPER_DIR	:= ../../piper

##!!! review
INCFLAGS	:= -I$(PIPERCPP_DIR)/ext -I/usr/include/sord-0 -I/usr/include/serd-0 -I$(VAMPSDK_DIR) -I$(PIPERCPP_DIR) -I/usr/local/include

CXXFLAGS	:= -Wall -Wextra -g3 -std=c++11 $(INCFLAGS)

LDFLAGS		:= $(VAMPSDK_DIR)/libvamp-hostsdk.a -lsord-0 -lserd-0

LDFLAGS		+= -ldl

all:		../bin/piper-vamp-stub-generator

../bin/piper-vamp-stub-generator:	./generator.cpp
		$(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS)