mapnik/demo/c++/Makefile

21 lines
286 B
Makefile
Raw Normal View History

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