fix demo make file
This commit is contained in:
parent
d19cf41d05
commit
59460b07f9
1 changed files with 3 additions and 9 deletions
|
@ -1,13 +1,7 @@
|
|||
CXX = g++
|
||||
|
||||
INCLUDE = `pkg-config --cflags mapnik freetype2 cairomm-1.0`
|
||||
LIBDIR = `pkg-config --libs mapnik freetype2 cairomm-1.0`
|
||||
|
||||
DEFINES =
|
||||
|
||||
CXXFLAGS = $(DEFINES) $(INCLUDE) -Wall
|
||||
|
||||
LIBS = $(LIBDIR)
|
||||
CXXFLAGS = $(shell mapnik-config --cflags)
|
||||
LDFLAGS = $(shell mapnik-config --libs --dep-libs --ldflags)
|
||||
|
||||
OBJ = rundemo.o
|
||||
|
||||
|
@ -16,7 +10,7 @@ BIN = rundemo
|
|||
all : $(BIN)
|
||||
|
||||
$(BIN) : $(OBJ)
|
||||
libtool $(CXX) $(OBJ) $(LIBS) -o $@
|
||||
$(CXX) $(OBJ) $(LDFLAGS) -o $@
|
||||
|
||||
.c.o :
|
||||
$(CXX) -c $(CXXFLAGS) $<
|
||||
|
|
Loading…
Add table
Reference in a new issue