Allow to pass environment variable for installation
This commit is contained in:
parent
760ac11549
commit
1363fa267b
2
Makefile
2
Makefile
|
@ -22,7 +22,7 @@ TEST_RUNNER = bin/picrin
|
||||||
CFLAGS += -I./extlib/benz/include -Wall -Wextra
|
CFLAGS += -I./extlib/benz/include -Wall -Wextra
|
||||||
LDFLAGS += -lm
|
LDFLAGS += -lm
|
||||||
|
|
||||||
prefix = /usr/local
|
prefix ?= /usr/local
|
||||||
|
|
||||||
all: CFLAGS += -O2 -DNDEBUG=1
|
all: CFLAGS += -O2 -DNDEBUG=1
|
||||||
all: bin/picrin
|
all: bin/picrin
|
||||||
|
|
Loading…
Reference in New Issue