Skip to content

Commit 851abee

Browse files
committed
Allow default values in Makefile to be overridden
This is handy when building this within an automated build system where creating and applying a patch is a PITA.
1 parent c2de99d commit 851abee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
LIBTOOL = libtool
2-
LIBDIR = /usr/lib
3-
CXX = g++
4-
CXXFLAGS = -g -O3 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2
1+
LIBTOOL ?= libtool
2+
LIBDIR ?= /usr/lib
3+
CXX ?= g++
4+
CXXFLAGS ?= -g -O3 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2
55

66
all: libpystring.la
77

0 commit comments

Comments
 (0)