Makefile tweaks for helloworld template plugin

- Do not force use of clang++ to build the plugin (broken on recent debian
   and derivates: https://bugs.debian.org/643959)
 - Do not force clean on install
 - Use -fPIC to build objects (or g++ complains)
This commit is contained in:
Sandro Santilli 2014-06-13 12:57:35 +02:00 committed by Dane Springmeyer
parent 8bb77bce92
commit 4c525e0e25

View file

@ -1,6 +1,6 @@
CXX = clang++
# To use clang, run: make CXX=clang++
CXXFLAGS = $(shell mapnik-config --cflags)
CXXFLAGS = $(shell mapnik-config --cflags) -fPIC
LIBS = $(shell mapnik-config --libs --ldflags --dep-libs)
@ -27,4 +27,4 @@ clean:
deploy : all
cp hello.input $(shell mapnik-config --input-plugins)
install: clean all deploy
install: all deploy