Rename everything from .cc to .cpp to match other projects

This commit is contained in:
Eric Fischer 2016-04-27 12:22:47 -07:00
parent 8c7ac58ba1
commit b12413eddb
9 changed files with 10 additions and 10 deletions

View File

@ -39,7 +39,7 @@ matrix:
install:
- BUILDTYPE=${BUILDTYPE} make
- BUILDTYPE=${BUILDTYPE} make -j
script:
- BUILDTYPE=${BUILDTYPE} make test

View File

@ -36,8 +36,8 @@ man/tippecanoe.1: README.md
PG=
H = $(shell find . '(' -name '*.h' -o -name '*.hh' ')')
C = $(shell find . '(' -name '*.c' -o -name '*.cc' ')')
H = $(shell find . '(' -name '*.h' -o -name '*.hpp' ')')
C = $(shell find . '(' -name '*.c' -o -name '*.cpp' ')')
INCLUDES = -I/usr/local/include -I.
LIBS = -L/usr/local/lib
@ -61,7 +61,7 @@ libjsonpull.a: jsonpull.o
%.o: %.c $(H)
$(CC) $(PG) $(INCLUDES) $(FINAL_FLAGS) $(CFLAGS) -c $<
%.o: %.cc $(H)
%.o: %.cpp $(H)
$(CXX) $(PG) $(INCLUDES) $(FINAL_FLAGS) $(CXXFLAGS) -c $<
clean:

View File

@ -11,7 +11,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include "mvt.hh"
#include "mvt.hpp"
#include "tile.h"
extern "C" {

View File

@ -8,7 +8,7 @@
#include <unistd.h>
#include <cmath>
#include <limits.h>
#include "geometry.hh"
#include "geometry.hpp"
#include "clipper/clipper.hpp"
extern "C" {

View File

@ -4,7 +4,7 @@
#include <vector>
#include <map>
#include <zlib.h>
#include "mvt.hh"
#include "mvt.hpp"
#include "protozero/varint.hpp"
#include "protozero/pbf_reader.hpp"
#include "protozero/pbf_writer.hpp"

View File

View File

@ -9,7 +9,7 @@
#include <map>
#include <zlib.h>
#include <math.h>
#include "mvt.hh"
#include "mvt.hpp"
#include "tile.h"
extern "C" {

View File

@ -19,8 +19,8 @@
#include <sqlite3.h>
#include <pthread.h>
#include <errno.h>
#include "mvt.hh"
#include "geometry.hh"
#include "mvt.hpp"
#include "geometry.hpp"
extern "C" {
#include "tile.h"