File: Makefile

package info (click to toggle)
osmpbf 1.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 248 kB
  • sloc: java: 748; cpp: 208; xml: 111; makefile: 46; ansic: 11; sh: 2
file content (16 lines) | stat: -rw-r--r-- 435 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

CXX = g++
CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS) -g -I../include
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -L../src -lpthread -lz -lprotobuf-lite -losmpbf

all: osmpbf-outline

osmpbf-outline: osmpbf-outline.cpp
	$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS)

install:
	install -m 755 -g root -o root -d $(DESTDIR)/usr/bin
	install -m 644 -g root -o root -s osmpbf-outline $(DESTDIR)/usr/bin

clean:
	rm -f osmpbf-outline