Allow overriding Makefile variables from the command line

This commit is contained in:
Thomas Friebel 2013-03-08 22:14:08 +01:00
parent d9be2d1024
commit 705e60496b
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
CXX = g++
CXXFLAGS = -O3
AR = ar
CXX ?= g++
CXXFLAGS ?= -O3
AR ?= ar
all: libosmpbf.a ../include/osmpbf/fileformat.pb.h ../include/osmpbf/osmformat.pb.h

View File

@ -1,7 +1,7 @@
CXX = g++
CXXFLAGS = -g -I../include
LDFLAGS = -L../src -lpthread -lz -lprotobuf-lite -losmpbf
CXX ?= g++
CXXFLAGS ?= -g -I../include
LDFLAGS ?= -L../src -lpthread -lz -lprotobuf-lite -losmpbf
all: osmpbf-outline