Allow overriding Makefile variables from the command line
This commit is contained in:
parent
d9be2d1024
commit
705e60496b
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue