python plugin: remove useless Makefile
This commit is contained in:
parent
156a7590f4
commit
16ffdf1fb5
1 changed files with 0 additions and 34 deletions
|
@ -1,34 +0,0 @@
|
|||
CXX = g++
|
||||
|
||||
CXXFLAGS = $(shell mapnik-config --cflags) -I/usr/include/python2.7 -fPIC
|
||||
|
||||
LIBS = $(shell mapnik-config --libs --ldflags --dep-libs) -lboost_python
|
||||
|
||||
SRC = $(wildcard *.cpp)
|
||||
|
||||
OBJ = $(SRC:.cpp=.o)
|
||||
|
||||
BIN = python.input
|
||||
|
||||
all : $(SRC) $(BIN)
|
||||
|
||||
$(BIN) : $(OBJ)
|
||||
$(CXX) -shared $(OBJ) $(LIBS) -o $@
|
||||
|
||||
.cpp.o :
|
||||
$(CXX) -c $(CXXFLAGS) $< -o $@
|
||||
|
||||
.PHONY : clean test
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ)
|
||||
rm -f $(BIN)
|
||||
|
||||
deploy : all
|
||||
cp python.input $(shell mapnik-config --input-plugins)
|
||||
|
||||
install: clean all deploy
|
||||
|
||||
test: deploy
|
||||
python test.py
|
||||
|
Loading…
Reference in a new issue