changeset 522:0b6802e3b755

Ensure VAMPSDK_DIR is defined before being used
author Chris Cannam
date Wed, 14 Aug 2019 14:58:04 +0100
parents 62987b6d6a3b
children e0ff22b3c888 569fc23fa37a
files skeleton/Makefile.inc
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/skeleton/Makefile.inc	Thu May 16 12:45:08 2019 +0100
+++ b/skeleton/Makefile.inc	Wed Aug 14 14:58:04 2019 +0100
@@ -40,18 +40,18 @@
 
 SRC_DIR		:= .
 
+# Defaults, usually overridden in the platform-specific Makefile
+VAMPSDK_DIR	?= ../vamp-plugin-sdk
+PLUGIN_EXT	?= .so
+CXX 		?= g++
+CC 		?= gcc
+
 CFLAGS		:= $(ARCHFLAGS) $(CFLAGS)
 CXXFLAGS	:= $(CFLAGS) -I. -I$(VAMPSDK_DIR) $(CXXFLAGS)
 
 LDFLAGS		:= $(ARCHFLAGS) $(LDFLAGS) 
 PLUGIN_LDFLAGS	:= $(LDFLAGS) $(PLUGIN_LDFLAGS)
 
-# Defaults, overridden from the platform-specific Makefile
-VAMPSDK_DIR	?= ../vamp-plugin-sdk
-PLUGIN_EXT	?= .so
-CXX 		?= g++
-CC 		?= gcc
-
 PLUGIN 		:= $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT)
 
 PLUGIN_OBJECTS 	:= $(PLUGIN_SOURCES:.cpp=.o)