diff Makefile.linux @ 104:62b7be1226d5 openmp

OpenMP support in main EM iteration
author Chris Cannam
date Tue, 06 May 2014 16:28:04 +0100
parents e08c330a761d
children ac750e222ad3
line wrap: on
line diff
--- a/Makefile.linux	Tue May 06 11:31:14 2014 +0100
+++ b/Makefile.linux	Tue May 06 16:28:04 2014 +0100
@@ -1,11 +1,12 @@
 
-CFLAGS := -Wall -O3 -ffast-math -msse -mfpmath=sse -ftree-vectorize -fPIC -I../vamp-plugin-sdk/
+CFLAGS := -Wall -O3 -ffast-math -fopenmp -msse -mfpmath=sse -ftree-vectorize -fPIC -I../vamp-plugin-sdk/
+
 #CFLAGS := -g -fPIC -I../vamp-plugin-sdk
 
 CXXFLAGS := $(CFLAGS)
 
 VAMPSDK_DIR := ../vamp-plugin-sdk
-PLUGIN_LDFLAGS := -shared -Wl,--version-script=vamp-plugin.map
+PLUGIN_LDFLAGS := -lgomp -shared -Wl,--version-script=vamp-plugin.map
 
 PLUGIN_EXT := .so