From 10f6237df0234b4704b1609a190b72da1b0333fa Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 17 Sep 2018 14:31:46 +0200 Subject: Makefile: use ?= for CFLAGS and PREFIX Closes #5. --- Makefile | 4 ++-- 1 file 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 -- cgit 1.4.1