diff --git a/include/osmpbf/osmpbf.h b/include/osmpbf/osmpbf.h index e354907..9dd8de1 100644 --- a/include/osmpbf/osmpbf.h +++ b/include/osmpbf/osmpbf.h @@ -7,10 +7,9 @@ // this describes the high-level OSM objects #include -namespace OSMPBF { +#define OSMPBF_VERSION "1.3.0" - // library version - const char *version = "1.3.0"; +namespace OSMPBF { // the maximum size of a blob header in bytes const int max_blob_header_size = 64 * 1024; // 64 kB diff --git a/src/Makefile b/src/Makefile index 16c3e97..a735f45 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,6 +1,6 @@ -CXX = g++ -CXXFLAGS = -O3 +CXXFLAGS += -O3 -fPIC + AR = ar all: libosmpbf.a ../include/osmpbf/fileformat.pb.h ../include/osmpbf/osmformat.pb.h