mapnik/demo/c++/Makefile
2011-08-29 22:42:29 +00:00

22 lines
297 B
Makefile

CXX = g++
CXXFLAGS = $(shell mapnik-config --cflags)
LDFLAGS = $(shell mapnik-config --libs --dep-libs --ldflags)
OBJ = rundemo.o
BIN = rundemo
all : $(BIN)
$(BIN) : $(OBJ)
$(CXX) $(OBJ) $(LDFLAGS) -o $@
.c.o :
$(CXX) -c $(CXXFLAGS) $<
.PHONY : clean
clean:
rm -f $(OBJ)
rm -f $(BIN)