mapnik/demo/c++/Makefile
Andreas Volz d38dedad68 + added GNU autotools build environment
+ raster and gdal input isn't tested. Not working currently...
+ *-input.so plugins created. Change loader in source or link plugin to correct place
+ use pkg-config uninstalled feature
  -> define project root to PKG_CONFIG_PATH to use mapnik without installation
+ added various library checks
+ don't install fonts
+ don't use included AGG
  -> check for a installed libagg
+ Added Makefile for c++ demo
+ don't build any python wrapper stuff
  -> this follows if all other building works
+ added Anjuta file
  -> not needed to build anything, but helps much if you use Anjuta
2007-09-14 23:07:16 +00:00

28 lines
365 B
Makefile

CXX = g++
INCLUDE = `pkg-config --cflags mapnik freetype2`
LIBDIR = `pkg-config --libs mapnik freetype2`
DEFINES =
CXXFLAGS = $(DEFINES) $(INCLUDE) -Wall
LIBS = $(LIBDIR)
OBJ = rundemo.o
BIN = rundemo
all : $(BIN)
$(BIN) : $(OBJ)
libtool $(CXX) $(OBJ) $(LIBS) -o $@
.c.o :
$(CXX) -c $(CXXFLAGS) $<
.PHONY : clean
clean:
rm -f $(OBJ)
rm -f $(BIN)