diff options
author | Leah Neukirchen <leah@vuxu.org> | 2018-09-17 14:31:46 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-09-17 14:31:59 +0200 |
commit | 10f6237df0234b4704b1609a190b72da1b0333fa (patch) | |
tree | df2d393399f81f6be32661b0b3a3cbfe8c52bbf2 | |
parent | 8fd9f3e185676e070aa267fac708cc5376e0cef8 (diff) | |
download | extrace-10f6237df0234b4704b1609a190b72da1b0333fa.tar.gz extrace-10f6237df0234b4704b1609a190b72da1b0333fa.tar.xz extrace-10f6237df0234b4704b1609a190b72da1b0333fa.zip |
Makefile: use ?= for CFLAGS and PREFIX
Closes #5.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile index 50b7247..6ff0da1 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ ALL=extrace pwait -CFLAGS=-g -O2 -Wall -Wno-switch -Wextra -Wwrite-strings -pedantic -ansi +CFLAGS?=-g -O2 -Wall -Wno-switch -Wextra -Wwrite-strings -pedantic -ansi DESTDIR= -PREFIX=/usr/local +PREFIX?=/usr/local BINDIR=$(PREFIX)/bin MANDIR=$(PREFIX)/share/man |