title: compile with gsl with an existing makefile
body: <p>i have a makefile for some code library i'm using and now i've added to that code some code that uses gsl. i'm not so sure how and what to add to the makefile (which i wat to keep since it's invoking boost as well) that would invoke gsl.</p>
  
  <p>This is my makefile:</p>
  
  <pre><code>CXX = g++
  ARCH = -mtune=generic
  #   ARCH = -march=core2
  #   ARCH = -march=native
  
  
  COFLAGS = $(ARCH) -O3 -pipe
  CXXFLAGS = -Wall $(COFLAGS)
  
  PROGRAMS = getData analyzeData
  BOOSTFLAGS = -I .
  OPENMP = -fopenmp -DSUPPORT_OPENMP
  
  all: $(PROGRAMS)
  getData: getData.cpp common.o parse.o common.h
      $(CXX) $(CXXFLAGS) getData.cpp common.o parse.o -o getData
  analyzeData:  analyzeData.cpp common.o parse.o parameters.o 
      $(CXX) $(CXXFLAGS) $(BOOSTFLAGS) $(OPENMP) estimateCrossReplicatesExpression.cpp common.o parse.o parameters.o -o analyzeData
  
  parameters.o: parameters.cpp parameters.h
  parse.o: parse.cpp parse.h
  common.o: common.cpp common.h
  
  clean:
      rm *.o $(PROGRAMS)
  </code></pre>